S
spoertsch
Hi,
I'm executing a script with an IPC:pen2 call and pipe some input
parameter in it. So that works fine. That script uses some of the
input paramter and has to pipe the rest to another script that is
started by that script. And that is the part where it doesn't work
anymore. The last script is startet using a system() call:
scriptA starts scriptB with open2
scriptB starts scriptC with system
scriptA passes input for scriptB and scriptC to scriptB
How to pass the input from scriptB to scriptC?
The whole thing is needed to achieve an automation for an installation
process which has several scripts. The problem is that i cant change
too much on scriptB, because it should still work for a manual
installation.
Normally scriptB and scriptC ask for some input on stdin and now i
have to pass the predefined input to those scripts for the automation
without changing the manual installation.
Thanks
spoertsch
I'm executing a script with an IPC:pen2 call and pipe some input
parameter in it. So that works fine. That script uses some of the
input paramter and has to pipe the rest to another script that is
started by that script. And that is the part where it doesn't work
anymore. The last script is startet using a system() call:
scriptA starts scriptB with open2
scriptB starts scriptC with system
scriptA passes input for scriptB and scriptC to scriptB
How to pass the input from scriptB to scriptC?
The whole thing is needed to achieve an automation for an installation
process which has several scripts. The problem is that i cant change
too much on scriptB, because it should still work for a manual
installation.
Normally scriptB and scriptC ask for some input on stdin and now i
have to pass the predefined input to those scripts for the automation
without changing the manual installation.
Thanks
spoertsch