[Tutor] subprocess.Popen basics

Alan Gauld alan.gauld at btinternet.com
Tue Oct 28 00:12:45 CET 2014


On 27/10/14 18:24, Adam Jensen wrote:
> It hangs at the print statement and, from the sound of the fans in the
> computer, I suspect it spirals off into an infinite loop somewhere

It works fine on my Lubuntu 14 with Python3.4.

How exactly are you running it? If I don't make parrot.sh executable
I get a permission error. But definitely no hang-ups.

Are you using an IDE by any chance? That can often do strange things.

-- 
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