in reply to Forcing return from Net::SSH::Perl connection
Another solution could be the nohup command, which disconnects STD* from the calling shell:
$ssh->cmd( "nohup ~/startup.pl &" )
$ssh->cmd( "nohup ~/startup.pl &" )
|
---|
In Section
Seekers of Perl Wisdom