in reply to Re^3: Remote Session Starting
in thread Remote Session Starting
If I get rid of the sleep the session goes away.Erm, that wouldn't be because that's the end of the script, which would close the telnet session and disconnect the programs? Can't you just start your Win32::GuiTest code right where you now have the sleep?
update: IIRC, if you let the $session variable go out of scope (or otherwise overwrite it) that would close the session too. As far as I can see, you only have to make sure the $session variable (and with it, the session) is kept as is while you carry out whatever tasks you need.
update2: s/$telnet/$session/
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Remote Session Starting
by gman (Friar) on Feb 29, 2008 at 03:09 UTC | |
by Anonymous Monk on Feb 29, 2008 at 17:22 UTC | |
by gman (Friar) on Mar 02, 2008 at 03:01 UTC | |
|
Re^5: Remote Session Starting
by Anonymous Monk on Feb 29, 2008 at 17:28 UTC | |
by Joost (Canon) on Mar 01, 2008 at 23:53 UTC |