in reply to Re: I want to run a script from another script, use the same version of perl, and reroute IO to a terminal-like textbox
in thread I want to run a script from another script, use the same version of perl, and reroute IO to a terminal-like textbox
Thanks for the welcome.
Good ideas. Capture::Tiny isn't what I need because I may need to write to the child (asking for y/n sort of thing), but IO::Tee might be what I need. It seems simple, and allows for bi-directional communication. The only problem might be if it starts the child process. I need to be able to pass in the hash, and I'm not sure how to do that outside of 'do'.
Same with your other suggestions. I need to be able to pass in the hash, as well as capture the output, and send some input.
|
|---|