Expect and interact()

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • docsnyder
    New Member
    • Dec 2006
    • 88

    Expect and interact()

    Hi Folks!

    I am using a Perl script (a) which opens several xterms, executing another script (b) for each xterm, which performs a login at a remote host via the Expect module. Script (b) calls the methos interact() in order to give IO control to the respective terminal (i.e. it then recognizes keyboard input).

    That works fine up to this point.

    Unfortunately, script (b) is still running after the remote login has been performed, because it gets stuck within the method interact(). Does anybody know how I can force script (b) to pass IO control to the xterm and then to terminate without terminating the xterm itself?

    Greetz, Doc
  • jcmartineze
    New Member
    • Apr 2007
    • 1

    #2
    do you resolve the problem ?
    i try and try about 1 month and I cannot do that it works, am trying it on platform windows xp,

    you can helpme, i can pay you for teaching.
    Removed Email Address
    Last edited by eWish; Dec 25 '07, 01:58 AM. Reason: Removed Email Address

    Comment

    Working...