in reply to Re: Interactive Input without Expect.pm
in thread Interactive Input without Expect.pm

Yeah, that would be good, except this is a fixed price project, and there are about 100-150 servers that need this script run on them. Im not about to do this. Having to compile/install Tty/Pty/Expect on all of em gives the sysadmins grey hairs. They dont want to install, and thats the excuse they are giving management.

In any case, Im about to cheat by writing a script from my workstation that uses Expect to ssh to each of the servers, mounts an NFS share which has my original script, executes my script minus the parts that needs Expect, and then runs the Expect parts via ssh. An ugly hack, but it should work ;-)

-chris

  • Comment on Re: Re: Interactive Input without Expect.pm