On Thu, Dec 17, 2009 at 9:29 AM, pedro <[email protected]> wrote: > Hi, I have two computationally intensive commands that I would like to > render simultaneously on two fifferent computers. When I run these two > commands, > > os.system(theTerminalCommandMacPro4) > os.system(theTerminalCommandMacPro1) > > > the second command doesn't begin until the first command has finished > rendering. Is there a way to send them both off at the same time?
Use subprocess.Popen() to start the external process asynchronously: http://docs.python.org/library/subprocess.html#replacing-os-system Or call os.system() in a thread. Kent _______________________________________________ Tutor maillist - [email protected] To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor
