Problem with any of os.system(), os.fork() & os.execp() and os.spawn()
Donn Cave
donn at u.washington.edu
Wed Jan 2 19:26:02 EST 2002
Quoth Eric Chamberland <Eric.Chamberland at videotron.ca>:
| Al I want is to execute a simple tcsh script from a python process. But the problem is
| that a put processes in the background in my tcsh shell (with &) and the execution of the
| script is stopped _only_ when the console from which I started the python process has been
| terminated.
Good luck! Your problem here is really tcsh. The only advice I can
give you is "never write scripts in csh", and that goes for tcsh as well.
I went so far as to verify that it works for me on NetBSD if I use, for
example, bash. I wouldn't waste a second trying to figure out what's
wrong with tcsh or how it can be fixed, seriously.
Donn Cave, donn at u.washington.edu
More information about the Python-list
mailing list