Take a look at the expect extension for tcl/Tk. It was created expressly
for dealing with interactive programs.
On Thu, Jun 30, 2011 at 1:31 PM, Brian St. Pierre wrote:
> On Thu, Jun 16, 2011 at 12:41 PM, Jerry Feldman wrote:
> > One possible solution that seems to work. In my wrapper script:
>
On Thu, Jun 16, 2011 at 12:41 PM, Jerry Feldman wrote:
> One possible solution that seems to work. In my wrapper script:
> --arg1 --arg2 2>&1
>
> And in the tcl script:
>
> if [catch {open "|$command"} input] {
>
> I still get my zombie on the start command, but I query the open file list in