[IronPython] os.system equivalent

HEMMI, Shigeru textdirected at gmail.com
Tue Sep 26 02:06:52 CEST 2006


Hello,

2006/9/25, Erich Lin <dmatrix00d at gmail.com>:
> I am looking for the equivalent of os.system(nt.system) for IronPython.

How about making use of  System.Diagnostics.Process.Start?
E.g.,

>>> import System
>>> System.Diagnostics.Process.Start('ipy.exe')
<System.Diagnostics.Process object at 0x000000000000002B
[System.Diagnostics.Process (ipy)]>



More information about the Ironpython-users mailing list