I have a perl wrapper script that initiates three applications.

First app is PuTTY's pageant, which holds the user's credentials,
so that the second process, pscp,  can securely login to remote
server and copy a file over.

wrapper starts pageant this way:
my $pageant_cmd = "pageant $the->{keypath}/$the->{private_key}";

eval {
 $return = system("$pageant_cmd");
};

pageant starts, but doesn't return control to my wrapper;
it's designed to run "in the system tray";
its icon displays; I can open a second cmd prompt, and
login to remote system without password prompt, as designed.
But in the first cmd prompt, my wrapper is "hung."

If I CTRL-C, then rerun wrapper, it works fine. Since pageant is
already started, he simply continues on and runs the other stuff.
But I need to run this as a scheduled job.

How can I get control back, so wrapper can continue?

ActiveState Perl 5.8.8, build 819.

best,

 /dennis



_______________________________________________
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to