in reply to Expect with command that spawns more processes
If that fails, you could try something random like spawning bash -l and then tell bash to run the Perl command. Maybe the subprocess will get confused enough to keep on talking to bash which is talking to Expect. Probably not. (If by some miracle that works and you don't want to hard-code the shell like that, you can perl -e 'exec {"$shell"} -sh' to get any login shell.)
After that (maybe before trying random ideas) I would suggest reporting it as a possible bug and see if the current maintainer can suggest anything useful.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Expect with command that spawns more processes
by perrin (Chancellor) on Mar 01, 2004 at 18:39 UTC |