sys._exit()

David Bolen db3l at fitlinxx.com
Thu Aug 23 22:29:46 EDT 2001


Donn Cave <donn at u.washington.edu> writes:

> I am not clear on what you mean here.  Your parenthetic observation
> about fork and pipe is right, but I would say it shows that the parent
> is safe from the child:  "using the other set of handles" means each
> reads from the descriptors closed by the other - which obviously didn't
> make the descriptors invalid!  A fork certainly can't close anything
> in its parent.

Yeah, you're right - must have been a brain spasm.  Descriptors are in
fact duplicated in a fork, and not just blindly copied.

(Makes me begin to be concerned that I've been stuck in Windows land
 too long)

--
-- 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