sys._exit()

David Bolen db3l at fitlinxx.com
Thu Aug 23 17:22:27 EDT 2001


Donn Cave <donn at drizzle.com> writes:

> Well, note that the fork runs in a separate address space and can't
> modify the parent's state.

No, but system resources like file handles are just copied literally
into the client's address space (not 'dup'd).  So if the client were
to close a common handle, the parent's handle would then become
invalid.  (Thus the typical create pipe, fork, and then have
parent/child carefully close opposite ends of the pipe handles before
using the other set of handles).

--
-- David
-- 
/-----------------------------------------------------------------------\
 \               David Bolen            \   E-mail: db3l at fitlinxx.com  /
  |             FitLinxx, Inc.            \  Phone: (203) 708-5192    |
 /  860 Canal Street, Stamford, CT  06902   \  Fax: (203) 316-5150     \
\-----------------------------------------------------------------------/



More information about the Python-list mailing list