running and managing background shell commands

Charles G Waldman cgw at fnal.gov
Wed Dec 15 13:19:11 EST 1999


Dimitri Papadopoulos writes:

 > 
 > How can I rewrite this function? As far as I know:
 > 1) commands.getstatus cannot start a background command
 > 2) os.system does start a background command
 > 3) but $! is not available

os.system("command &") will start a command in the background




More information about the Python-list mailing list