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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 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 [email protected] http://lists.ironpython.com/listinfo.cgi/users-ironpython.com _______________________________________________ Users mailing list [email protected] http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
