[IronPython] Command line
iain at onesquared.net
Tue Jun 12 21:57:09 PDT 2007
Looks like I've worked it out for myself. It looks like that is the
behavior you will get if you use the 'Always open with this
applications' option when you use 'Open With..'
I fixed it by undoing that change and changing what was run for all
> If I associate ipy.exe with *.py files then run the IronPython files
> directory I am not seeing any command line argument that I try to pass
> in to the script.
> I have a file called cmdline_test.py with the following two lines,
> import System
> print System.Environment.CommandLine
> If I run "C:\Program Files\IronPython\ipy.exe" cmdline_test.py test I
> will get
> "C:\Program Files\IronPython\ipy.exe" cmdline_test.py test
> If I run cmdline_test.py test I then get
> "C:\Program Files\IronPython\ipy.exe" "C:\Scripts\cmdline_test.py"
> Is this the expected behavior?
> users mailing list
> users at lists.ironpython.com
More information about the users