in reply to Re: Process command output after each input
in thread Process command output after each input

The paragraph entitled 'A more complex IPC::Open3 example' was just what I needed but I now have a requirement to do this for Windows as well as Unix.

Any ideas as I can't get it to work for Windows??

  • Comment on Re^2: Process command output after each input

Replies are listed 'Best First'.
Re^3: Process command output after each input
by zentara (Cardinal) on Dec 14, 2004 at 12:35 UTC
    Sorry, I don't run or test anything on windows. From previous posts regarding this, there is some sort of problem on windows, and it is suggested to try the IPC::Run module, which communicates via sockets, instead of pipes, and it reported to work well on windows.

    I'm not really a human, but I play one on earth. flash japh
      Hi, I want to know how can i do the following in my perl program i am calling "open3 (a,b,c,$cmd)" $cmd is some other unix command that asks for user input via STDIN. (real example: unix ci command -- check-in file to RCS and it needs some message). I am really confused how to attach STDIN between the parent and child using open3 thanks ankur