Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Input Enter while Execution of a process

by hippo (Bishop)
on Sep 04, 2017 at 11:12 UTC ( [id://1198657]=note: print w/replies, xml ) Need Help??


in reply to Input Enter while Execution of a process

Did you try simply piping echo?

system ("echo | zsh foo.sh");

I would rather do this than head off down the Expect rabbit hole if it is all that's required.

Replies are listed 'Best First'.
Re^2: Input Enter while Execution of a process
by Corion (Patriarch) on Sep 04, 2017 at 11:38 UTC

    I think the problem of the OP is that they (only) want to take additional actions when the other script asks for input, maybe warranting something like IPC::Run3 or Expect.

    But without further information, this is pure speculation on my part.

Log In?
Username:
Password:

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

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

    No recent polls found