On Wed, Jun 3, 2015, at 08:25, Marko Rauhamaa wrote:
> Steven D'Aprano <st...@pearwood.info>:
> 
> > How does the child process know what action didn't complete? What
> > error message are you going to display to the user?
> 
> You definitely must not use sys.stderr from the child process nor are
> you allowed to exit through an exception but must call os._exit()
> instead.

Why does the child process need to report the error at all? The parent
process will find out naturally when *it* tries to close the same file
descriptor.
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to