[IronPython] os.system

Curt Hagenlocher curt at hagenlocher.org
Thu Jul 24 01:28:36 CEST 2008


I'm not sure you can do either of these in beta 3, actually, but the work is
done and in the latest Codeplex drops.  It will be in beta 4, which is
planned for early in August.

On Wed, Jul 23, 2008 at 4:18 PM, Dino Viehland <dinov at exchange.microsoft.com>
wrote:

>  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
>
> _______________________________________________
> Users mailing list
> Users at lists.ironpython.com
> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20080723/fd0435ce/attachment.html>


More information about the Ironpython-users mailing list