Problem with any of os.system(), os.fork() & os.execp() and os.spawn()

Andy Todd andy47 at
Thu Jan 3 00:41:01 EST 2002

Donn Cave <donn at> wrote in
<a108eq$6ha$1 at>: 

>Quoth Eric Chamberland <Eric.Chamberland at>:
>| 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
>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

And if Donn and Martin haven't convinced you that writing scripts in any 
variant of the c shell is bad, have a look at;

Content free posts a speciality

More information about the Python-list mailing list