From: Ed A. <er...@uc...> - 2003-04-22 18:26:40
|
I've attached two short scripts to this email: o "expsu" is an expect/tcl program which su-s to another user. It works correctly. o "explsu" is a perl program which attempts to do the same thing with the Expect module. It doesn't work; it sees the shell prompt, but it exits prematurely somewhere in interact(). Is there something I need to change/add in explsu to make it work, or is this a bug in perl's Expect module? |