[IronPython] Please vote on WorkItemId=12283 (sys.argv always empty)

Dino Viehland dinov at exchange.microsoft.com
Mon Sep 17 21:39:48 CEST 2007


We'll fix this for the next release (I'm looking at it right now! :) ).  I still see argv existing in SystemState but I think the actual problem is somewhere in the command line parser for ipyw.

-----Original Message-----
From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of JoeSox
Sent: Sunday, September 16, 2007 7:19 PM
To: Discussion of IronPython
Subject: [IronPython] Please vote on WorkItemId=12283 (sys.argv always empty)

Everyone loves WorkItem Voting right?? :)

sys.argv always empty regardless of params passed to ipyw.exe
http://www.codeplex.com/WorkItem/View.aspx?ProjectName=IronPython&WorkItemId=12283

I even have a proposed fix (not complete fix just a get start perhaps):
FileInfo myfileinfo = new FileInfo(Environment.CurrentDirectory + "\\"
+ "passedfilenamearg");
Console.WriteLine(myfileinfo.FullName);

and I noticed in Alpha4 there was no SystemState.Instance.argv
so I am guessing that would be worked in somewhere.

It would be nice to have this in the next release, hint hint vote vote! :)
--
Later, JoeSox
_______________________________________________
Users mailing list
Users at lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com



More information about the Ironpython-users mailing list