
Dec. 7, 2011
4:46 p.m.
From: Olivier Delalleau <shish@keba.be> To: Discussion of Numerical Python <numpy-discussion@scipy.org> Sent: Wednesday, December 7, 2011 3:43 PM Subject: Re: [Numpy-discussion] Simple way to launch python processes? Maybe try stackoverflow, since this isn't really a numpy question. To run a command like "python myscript.py arg1 arg2" in a separate process, you can do: p = subprocess.Popen("python myscript.py arg1 arg2".split()) You can launch many of these, and if you want to know if a process p is over, you can call p.poll(). I'm sure there are other (and better) options though. -=- Olivier Thank you. -- Lou Pecora, my views are my own. ________________________________