Re: [IronPython] os.system equivalent

2006-10-12 Thread Reed L. O'Brien
What is the status of the subprocess module? ~reed On Oct 12, 2006, at 2:45 PM, Patrik Husfloen wrote: > If you're not trying to maintain cpython compatibility you can use > System.Diagnostics.Process.Start() > > /Patrik > > On 10/12/06, Kevien Lee <[EMAIL PROTECTED]> wrote: >> -Original Mes

Re: [IronPython] os.system equivalent

2006-10-12 Thread Patrik Husfloen
If you're not trying to maintain cpython compatibility you can use System.Diagnostics.Process.Start() /Patrik On 10/12/06, Kevien Lee <[EMAIL PROTECTED]> wrote: > -Original Message- > From: [EMAIL PROTECTED] [mailto: > [EMAIL PROTECTED] On Behalf Of Erich Lin > Sent: Sunday, September 24,

Re: [IronPython] Differences between Ironpython and CPython 2.4

2006-10-12 Thread Dino Viehland
If you run IronPython w/ -X:ExceptionDetail you'll see where the exception is getting thrown from IronPython. Put a break point there and look at the values that are coming into that function. Then you should be able to compare that simple operation to the one in CPython and see if they're bot

[IronPython] Differences between Ironpython and CPython 2.4

2006-10-12 Thread walgri
Hello, I have been trying IronPython with the Unum module (http://home.tiscali.be/be052320/Unum.html) which, in about 400 locs, adds a complete and seamless measure units support to Python. In Cpython2.4 I can write code like this: Python 2.4.2 (#67, Sep 28 2005, 12:41:11) [MSC v.1310 32 bit (In

Re: [IronPython] Security Problem in Visual Studio

2006-10-12 Thread Aaron Marten
Hi Niels,   I’ll investigate this and let you know what we find out.   Thanks, Aaron Marten (Microsoft)   From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Niels Reijers Sent: Thursday, October 12, 2006 5:47 AM To: Discussion of IronPython Subject: [IronPython] Securit

Re: [IronPython] Security Problem in Visual Studio

2006-10-12 Thread J. Merrill
If you're running the resulting code from a network share, that can be an issue -- it's not a "trusted" source for code, and IP (sometimes) does its work by generating new methods on the fly.  That ought not be allowed to anything other than totally trusted code. If you're running the code from a

[IronPython] os.system equivalent

2006-10-12 Thread Kevien Lee
-Original Message-From: [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED]] On Behalf Of Erich LinSent: Sunday, September 24, 2006 9:26 PMTo: users@lists.ironpython.com Subject: [IronPython] os.system equivalentHi,I am trying to run a shell command, specifically msbuild, and pstools. nt.system an

[IronPython] Security Problem in Visual Studio

2006-10-12 Thread Niels Reijers
Hello,I apologise if this has been asked and answered before. I'm new to IronPython, .Net and VisualStudio (apart from some VB6 work in a distant past), but I have a couple of months of Python experience, and am really pleased with the language so far. I'm exploring IronPython for a project at work