[Tutor] Using os.spawn commands
Sun, 10 Feb 2002 12:48:17 -0500
On Sat, Feb 09, 2002 at 12:06:02PM -0800, Sheila King wrote:
| I wanted to write a script to test this other script of mine.
| I thought one of the os.spawn commands would be best, so that if one of
| the test processes crashed, at least my testing script wouldn't? (That
| is correct thinking there, right?)
| I'm running a lot of my testing on a Windows machine, and according to
| the docs, that eliminates any of the spawn commands with a "p" as a
| choice. OK, fine. That leaves me with these choices:
What about os.system()? Is that available on 'doze?
os.system( 'python email_filter.py < test4.txt' )
Like a gold ring in a pig's snout
is a beautiful woman who shows no discretion.