in reply to Net::SSH::Perl - Breaking out of a running command?

I would look at use threads; (perlthrtut) and study how the semaphores work, with the basic idea that the connection is run in a separate thread that is managed by your program. I have not had to manage semaphores before, so I have no experience to help guide you on this.

Replies are listed 'Best First'.
Re^2: Net::SSH::Perl - Breaking out of a running command?
by cmv (Chaplain) on Aug 06, 2014 at 15:25 UTC
    Thanks for the suggestion, but I don't have the option of using threads in the environment that this runs in.