Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

Re^3: Queries on open3

by ikegami (Patriarch)
on Apr 23, 2009 at 14:33 UTC ( [id://759546]=note: print w/replies, xml ) Need Help??

in reply to Re^2: Queries on open3
in thread Queries on open3

I expected it should not return input file handle since we cannot write into 'sleep' command.

You don't write "into a sleep command". You write into a pipe. As long as the pipe isn't full, it'll report that it can accept data.

Perhaps you want Expect?

Replies are listed 'Best First'.
Re^4: Queries on open3
by thiagu_mvt (Sexton) on May 11, 2009 at 06:14 UTC
    I have used syswrite and checking the number of bytes written. also using SIGPIPE.

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://759546]
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2024-07-12 20:10 GMT
Find Nodes?
    Voting Booth?

    No recent polls found

    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.