Start new process by function ?
George Sakkis
gsakkis at rutgers.edu
Thu Mar 10 16:52:13 EST 2005
Is it possible to start a new process by specifying a function call (in similar function to thread
targets) instead of having to write the function in a separate script and call it through os.system
or os.spawn* ? That is, something like
def foo(): pass
os.spawn(foo)
Thanks in advance,
George
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Haiku of the day:
"A file that big? / It might be very useful / But now it is gone. "
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
More information about the Python-list
mailing list