[IronPython] Workaround for -i

Jonathan Jacobs korpse-ironpython at kaydash.za.net
Sun Dec 4 23:03:30 PST 2005


Edward K. Ream wrote:
> There is an easy workaround for the missing -i option: simply invoke the 
> batch file from an already open console window.  That way the console stays 
> open when the batch file dies.

Shouldn't the -i option actually be stopping IronPython from exiting 
when it's done running the script, so as to allow interactive inspection?

Snippet from python.exe -h:

-i     : inspect interactively after running script, (also PYTHONINSPECT=x)
          and force prompts, even if stdin does not appear to be a terminal

--
Jonathan


More information about the users mailing list