in reply to Process id in Net::Telnet

ya when you kill the script the telnets die

Replies are listed 'Best First'.
Re^2: Process id in Net::Telnet
by tsk1979 (Scribe) on Mar 23, 2006 at 10:21 UTC
    Yup, the telnets will die, but I have spawned multiple telnet threads. In those threads I am running cmds like $telnet->cmd("make"); So when that telnet dies does the make also die or it keeps running? If it keeps running I need a way to kill all those makes when ^C is pressed.