rasti.hil@hilandco.com +41 79 367-9677

Running putty in a perl script


my $PUTTY = 'C:\Program Files\PuTTY\putty.exe';
my $sessionName = 'putty_session_name';
my $cmd = "start \"\" \"$PUTTY\" -load \"$sessionName\"";
system($cmd); #running command