in reply to Re: Expect with command that spawns more processes
in thread Expect with command that spawns more processes

I have no idea why the subprocess would not send its data to the same terminal that its parent is talking to.

Thanks, your comments here caused me to go back and take a closer look at the generated Makefile, and it turned out that the problem came from the fact that it was the "make" command that generated this prompt, not the "perl Makefile.PL" command. I didn't realize this because I have it all scripted to run them automatically.

So, the answer is that commands launched with Expect which spawn subprocesses are not a problem at all.

  • Comment on Re: Re: Expect with command that spawns more processes