Dino Viehland wrote: > The best replacement is probably nt.spawnl - it looks like this has been > reported in the issue tracker over the weekend, and someone else has > commented that it should be high-priority. So with 3 reports all at once > I've gone ahead and moved this to high priority. Thanks for the bug report! > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Erich Lin > Sent: Sunday, September 24, 2006 9:26 PM > To: [email protected] > Subject: [IronPython] os.system equivalent > > Hi, > > I am trying to run a shell command, specifically msbuild, and pstools. > nt.system and os.system run on python, but neither of those run on > ironpython. How would you do this using IronPython. > > Thanks > > _______________________________________________ > users mailing list > [email protected] > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > _______________________________________________ > users mailing list > [email protected] > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
I don't know how much weight it carries but the CPython subprocess module is to replace the older ways. from the subprocess docs: """ This module intends to replace several other, older modules and functions, such as: os.system os.spawn* os.popen* popen2.* commands.* """ _______________________________________________ users mailing list [email protected] http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
