Message139765
| Author |
neologix |
| Recipients |
lcampagn, neologix |
| Date |
2011年07月04日.13:24:09 |
| SpamBayes Score |
0.0020022006 |
| Marked as misclassified |
No |
| Message-id |
<1309785850.12.0.459572984447.issue12488@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
That's because the other end of the pipe (p1) is open in the child process (FDs are inherited on fork()).
Just add
p1.close()
at the beginning of fn() and you'll get EOF.
Closing as invalid. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2011年07月04日 13:24:10 | neologix | set | recipients:
+ neologix, lcampagn |
| 2011年07月04日 13:24:10 | neologix | set | messageid: <1309785850.12.0.459572984447.issue12488@psf.upfronthosting.co.za> |
| 2011年07月04日 13:24:09 | neologix | link | issue12488 messages |
| 2011年07月04日 13:24:09 | neologix | create |
|