<div dir="ltr">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.<br><br>
<div class="gmail_quote">On Wed, Jul 23, 2008 at 4:18 PM, Dino Viehland <<a href="mailto:dinov@exchange.microsoft.com">dinov@exchange.microsoft.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div lang="EN-US" vlink="purple" link="blue">
<div>
<p><span style="COLOR: #1f497d">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.</span></p>
<p><span style="COLOR: #1f497d"> </span></p>
<div>
<div style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; PADDING-LEFT: 0in; PADDING-BOTTOM: 0in; BORDER-LEFT: medium none; PADDING-TOP: 3pt; BORDER-BOTTOM: medium none">
<p><b><span style="FONT-SIZE: 10pt">From:</span></b><span style="FONT-SIZE: 10pt"> <a href="mailto:users-bounces@lists.ironpython.com" target="_blank">users-bounces@lists.ironpython.com</a> [mailto:<a href="mailto:users-bounces@lists.ironpython.com" target="_blank">users-bounces@lists.ironpython.com</a>] <b>On Behalf Of </b>John Case (Excell Data Corporation)<br>
<b>Sent:</b> Wednesday, July 23, 2008 4:12 PM<br><b>To:</b> <a href="mailto:Users@lists.ironpython.com" target="_blank">Users@lists.ironpython.com</a><br><b>Subject:</b> [IronPython] os.system</span></p></div></div>
<div>
<div></div>
<div class="Wj3C7c">
<p> </p>
<p>Hello:</p>
<p> </p>
<p>With IronPython, what do I use instead of os.system('dir'), or os.popen('dir') to achieve the same result?</p>
<p> </p>
<p>Thank you very much!</p>
<p> </p>
<p> </p>
<p>John Case</p></div></div></div></div><br>_______________________________________________<br>Users mailing list<br><a href="mailto:Users@lists.ironpython.com">Users@lists.ironpython.com</a><br><a href="http://lists.ironpython.com/listinfo.cgi/users-ironpython.com" target="_blank">http://lists.ironpython.com/listinfo.cgi/users-ironpython.com</a><br>
<br></blockquote></div><br></div>