[IronPython] os.system equivalent

Kevien Lee ironpythonster at gmail.com
Fri Oct 13 09:24:24 CEST 2006


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

/Patrik
//
use the System.Diagnostics.Process.Start() is easy,but some
command it don't support,such as "telnet 127.0.0.1".as shell develop,calling
 the system command should be more easy:(


> 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!
>

---------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20061013/5f1b6e13/attachment.html>


More information about the Ironpython-users mailing list