Hi,

Richard Lamboj schrieb:
> is there any solution to catch if a pipe has closed? Maybe the signal modul?

Since sys.stdin is a file object, you can use sys.stdin.closed to check
if it has been closed.

Lutz
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to