in reply to Re^4: How to deal with a forked proces that is waiting for user input?
in thread How to deal with a forked proces that is waiting for user input?
Would you please stop with the scatter gun approach!
There are at least 4 different versions of your code, some in updated posts other two to a post, and it is impossible for me to keep up with them all.
Please post one question at a time and at least wait for a reasonable amount of time for people to respond--remember they may be in different time zones to you, or just busy with their own stuff--before posting more.
For the record. I've just tried 4 different versions of your code here and 3 of them 'work'...with minor changes.
Like: don't use $fh->close; it will cause errors--which if you were using strict and warnings, one of them would tell you about. Use close( $fh ); instead.
Could you please tell me which versions of threads & threads::shared you are using?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: How to deal with a forked proces that is waiting for user input?
by gepapa (Acolyte) on Oct 22, 2008 at 16:34 UTC | |
by BrowserUk (Patriarch) on Oct 22, 2008 at 17:34 UTC | |
by gepapa (Acolyte) on Oct 22, 2008 at 18:00 UTC | |
by BrowserUk (Patriarch) on Oct 22, 2008 at 18:13 UTC | |
by gepapa (Acolyte) on Oct 22, 2008 at 18:41 UTC |