| From: Tom Schouten (tom at zwizwa.be) Date: Tue Jul 1 10:36:46 EDT 2008 |
|
Hello,
How can a process created with process/ports be properly terminated (without creating zombie
processes) when its stdin is closed by a custodian?
I.e.: closing gnuplot's stdin produced by the following code creates a defunct process.
(define (open-gnuplot)
(match (process/ports (current-output-port) #f
(current-output-port) "gnuplot")
((list stdout
stdin
pid
stderr
control)
stdin)))
Cheers,
Tom
| Posted on the users mailing list. |
|