bg and fg

Marcin 'Qrczak' Kowalczyk qrczak at knm.org.pl
Sun Nov 4 16:39:11 EST 2001


Sun, 4 Nov 2001 19:37:12 +0100, Andreas Kostyrka <andreas at mtg.co.at> pisze:

>> if os.fork() == 0:
>> 	os.setsid # what does THAT mean? it was in the example.
>> 	          # i looked into "pydoc os" but i didn't understand
>> 		  # find an explantation
> This makes the process it's own session leader. ;)

But only when called: os.setsid(), not merely referenced: os.setsid.

-- 
 __("<  Marcin Kowalczyk * qrczak at knm.org.pl http://qrczak.ids.net.pl/
 \__/
  ^^
QRCZAK



More information about the Python-list mailing list