|
Posted by Yishay Weiss on September 7, 2004, 10:41 am
Please log in for more thread options
Hi All,
I've not been able to start a background process using Net::SSH::W32Perl.
For example:
- - - -
use Net::SSH::W32Perl;
my $ssh = Net::SSH::W32Perl->new('host');
$ssh->login('user', 'passwd');
my $t1 = time;
$ssh->cmd('sh -c "sleep 10"&');
print "elapsed time: ".(time - $t1)."n";
- - - - -
elasped time: 10
- - - - -
I would expect it to be zero. Does anyone know of a workaround for this?
Thanks,
Yishay
|