Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Use of IPC::Run rather than system()

by zentara (Archbishop)
on Jul 17, 2003 at 16:00 UTC ( [id://275262]=note: print w/replies, xml ) Need Help??


in reply to Use of IPC::Run rather than system()

I've used IPC to run commands and capture output. On occaision I needed to get input to the command I'm running. What I did was use a local STDIN:
print "Insert blank cdrom ,press enter\n" { local *STDIN; open( STDIN, "< /dev/tty" ); my $ok = <STDIN>; }

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (2)
As of 2024-04-19 19:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found