G
George Sakkis
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. "
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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. "
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~