[Tutor] subprocess.Popen basics

Alan Gauld alan.gauld at btinternet.com
Tue Oct 28 02:31:34 CET 2014


On 27/10/14 20:26, Adam Jensen wrote:

> That's a bit bizarre. I too have the execution bit set for both the
> python script and the shell script but the same (no joy) behavior occurs
> on both:

> $ ./subprocess_pipe.py

Its a long shot but try explicitly invoking the interpreter:

$ python3 ./subprocess_pipe.py

The shebang line should make in unnecessary but you
never know...

HTH
-- 
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
http://www.flickr.com/photos/alangauldphotos



More information about the Tutor mailing list