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

I didn't see Run3, but IPC::Run certainly has all the capturing I could ever use. The problem is that I need to pass the hash, and I don't know how to do that outside of 'do'.

The other problem is that I want all scripts called from the main script to use the same version of perl. I don't know if IPC::Run sets the perl version or environment for the child processes (although now I say it like that, it might).

I too am against Bad Ideas, and in any case, I don't even know how to manipulate file handlers. So that's not happening :)

  • Comment on Re^2: I want to run a script from another script, use the same version of perl, and reroute IO to a terminal-like textbox