[IronPython] os.system

Dino Viehland dinov at exchange.microsoft.com
Thu Jul 24 01:18:30 CEST 2008


They're in the nt module - usually w/ CPython the os module, which is written in Python, loads the appropriate module (nt/unix/etc...) and delegates to that.  In IronPython 2.0 nt now implements both popen* and system.  In 1.x we only support popen* and not system.

From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of John Case (Excell Data Corporation)
Sent: Wednesday, July 23, 2008 4:12 PM
To: Users at lists.ironpython.com
Subject: [IronPython] os.system

Hello:

With IronPython, what do I use instead of os.system('dir'), or os.popen('dir') to achieve the same result?

Thank you very much!


John Case
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20080723/aee2bec8/attachment.html>


More information about the Ironpython-users mailing list