[IronPython] os.system equivalent

Patrik Husfloen husfloen at gmail.com
Thu Oct 12 20:45:42 CEST 2006


If you're not trying to maintain cpython compatibility you can use
System.Diagnostics.Process.Start()

/Patrik

On 10/12/06, Kevien Lee <ironpythonster at gmail.com> wrote:
> -----Original Message-----
> From: users-bounces at lists.ironpython.com [mailto:
> users-bounces at lists.ironpython.com] On Behalf Of Erich Lin
> Sent: Sunday, September 24, 2006 9:26 PM
> To: users at lists.ironpython.com
> 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
> -----------------------------------------------------------------------------
> Hi,I also amaze this problem,how could the IronPyton to call the python
> lib.If the IronPython can call the python lib full,it should be perfect!
>
> _______________________________________________
> users mailing list
> users at lists.ironpython.com
> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
>
>
>



More information about the Ironpython-users mailing list