forking + stdout = confusion
Clarence Gardner
clarence at silcom.com
Wed Apr 14 12:36:39 EDT 1999
Clarence Gardner (clarence at silcom.com) wrote:
: However, your first thought also works, with the same caveat about stderr.
: stdin, stdout, and stderr all have the __xxx__ copy in the sys module
: (which I was not aware of).
Mea culpa. The os.close() *is* still necessary. Is there yet another
copy of these file objects? I tried to find that function that returns
the reference count, but don't see it in the manual.
--
-=-=-=-=-=-=-=-=
Clarence Gardner
AvTel Communications
Software Products and Services Division
clarence at avtel.com
More information about the Python-list
mailing list