in reply to Re^3: passing setup via pipeline
in thread passing setup via pipeline

... Then you can print out commands to TO_CHLD and collect the output from FR_CHLD.

I think one of the tricky things with open3 is how to correctly detect the end of multi-line responses, e.g. when issuing commands like ls -l (or the respective alias), as the pesistent shell won't close the pipe when done with the command.

Replies are listed 'Best First'.
Re^5: passing setup via pipeline
by ikegami (Patriarch) on May 25, 2010 at 22:20 UTC
    I don't think the OP needs to isolate responses. I take "I'm writing a Tk entry that emulates term" to mean he wants to build a console.