Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^3: Queries on open3

by ikegami (Patriarch)
on Apr 23, 2009 at 14:33 UTC ( #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? | Other CB clients
Other Users?
Others romping around the Monastery: (3)
As of 2022-08-08 17:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?