Hi,

 

In python, there is an environment var called "PYTHONINSPECT" which will
cause a script to drop into interactive mode at completion.  What should
happen is the user will get the python interactive prompt ">>>" rather than
returning to the shell in which the script was called.

 

This works great in bash on cygwin, but does not work from inside a
bash/cygwin shell started by NTEmacs.  When started in a NTEmacs shell , the
example script below will run to completion and the bash prompt will
reappear.  In other words, python interactive mode is simply skipped or
ignored.

 

Emacs Info:

This is GNU Emacs 22.0.990.1 (i386-mingw-nt5.1.2600) of 2007-05-23 on
LENNART-69DE564 (patched)

 

This code snippet will recreate the problem:

#!/usr/bin/env python

import os

os.environ['PYTHONINSPECT'] = "YES"

print "HI HI HI"

 

 

Anyone have any ideas?

 

Thanks,

-T 

Reply via email to