Windows problem

Nobody nobody at
Mon Jan 21 12:32:25 CET 2013

On Mon, 21 Jan 2013 07:25:06 -0400, Tom Borkin wrote:

> It opens the first song and hangs on subsequent songs. It doesn't open the
> next song or execute the print until I have closed the first one. I want it
> to open all in the list, one after another, so I have all those songs
> available. Please advise.

If you want to be able to keep track of the child process (e.g. to
determine when it has finished), use subprocess.Popen(). If you just want
to "fire and forget", use the "start" shell command, e.g.:['start', 'notepad.exe', '%s.txt' % song], shell=True)

More information about the Python-list mailing list