Python subprocess question
rdcollum at gmail.com
Tue Jan 6 20:34:46 CET 2009
On Jan 6, 1:18 pm, s... at pobox.com wrote:
> Roger> .setDaemon(True) means the thread gets destroyed when the program
> Roger> exits and default .setDaemon(False) means that the thread
> Roger> continues to process even when the main program is gone?
> Approximately. The main thread (and thus the program) will exit only when
> all non-daemon threads have finished. A thread can't continue to run if the
> main program has exited.
> Skip Montanaro - s... at pobox.com -http://smontanaro.dyndns.org/
Gotcha. Thank you, that makes it clearer. =)
More information about the Python-list