Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

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?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (3)
As of 2024-04-26 06:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found