[IronPython] Bug when calling ironpythonconsole from powershell

J. Merrill jvm_cop at spamcop.net
Fri Jun 30 04:31:28 CEST 2006


I'd guess that the "File -X: does not exist" message coming from Powershell, rather than from IPC.  You could prove that by -- for example -- calling echo instead of IPC.  (Of course, powershell could be doing something special when it sees that you're calling an executable.  What happens if you don't put ".exe" after IPC?)

Another way to see if IPC is getting called would be to turn SysInternals' FILEMON on...

Good luck.

At 02:36 PM 6/28/2006, Jörgen Stenarson wrote
>Hi
>
>I have a problem calling ironpythonconsole from windows powershell using 
>the -X: options. Below are excerpts from sessions both in cmd.exe and 
>powershell:
>
> From cmd.exe:
>C:\IronPython>IronPythonConsole.exe -X:SaveAssemblies hej.py
>HELLO WORLD!
>
>
> From windows powershell:
>PS C:\IronPython> IronPythonConsole.exe -X:SaveAssemblies hej.py
>File -X: does not exist
>
>looks like there is some issue with commandline parsing.
>
>
>Best regards,
>Jörgen Stenarson


J. Merrill / Analytical Software Corp





More information about the Ironpython-users mailing list