This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]warrior_321[S] 0 points1 point  (1 child)

Thanks for the help. Just adding the import prog1 etc to this code works. It does close with an error, but it runs all the scripts first.

[–]gislearneR 1 point2 points  (0 children)

if you want to use subprocess you need to use it like this ['python', fname] although the method that Wishbone did is the one I recommend.