running a python script in the background

Arun arun.sivakumaran at gmail.com
Sun Oct 31 08:51:02 EST 2004


The reason I wasn't able to run the script in the background was
because my simulator was outputting debug messages in the foreground.
The following seemed to do the trick:

script.py
--------------------------------

Create the config files

Loop through the list of config files:
     system("simulator configfile >> & logfile");

---------------------------------
>>script.py >> & logfile &


Thanks!
Aun



More information about the Python-list mailing list