Re: blocking pipe read from zombie process?

From: Alan Curry (pacman-kernel@cqc.com)
Date: Thu Jun 15 2000 - 14:14:48 EST


Nick Cabatoff writes the following:
>In my perl script I read from a file handle, which happens to be a pipe.
>At some point the child process I'm reading from terminates normally
>(and becomes a zombie), but what should be a last read operation that
>returns nothing instead never returns at all.

Did you pipe, fork, and then forget to close the writing end of the pipe in
the parent process?

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Jun 15 2000 - 21:00:36 EST