Skip Menu |

This queue is for tickets about the Net-SSH-Perl CPAN distribution.

Report information
The Basics
Id: 47000
Status: new
Priority: 0/
Queue: Net-SSH-Perl

People
Owner: Nobody in particular
Requestors: dr.g.b [...] gmx.de
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Date: Tue, 16 Jun 2009 14:53:16 +0200
To: bug-Net-SSH-Perl [...] rt.cpan.org
From: dr.g.b [...] gmx.de
Hello, I use => Perl v5.8.8 built for i486-linux-gnu-thread-multi => Net::SSH::Perl Version 1.30 to control a remote computer which works pretty good. But there is one scenario the module is not able to deal with: the program started with $ssh->cmd('program'); generates a child process and terminates. The child repeats a specific task in an endless loop until it is terminated using kill. pid = fork(); if(pid>0) { while(1) { ... } } else if(pid==0) { exit(0); } else { ... } My problem is, that the call to $ssh->cmd('program') does not return until the child is terminated and not as I would expect when the father process exits. Your help would be appreciated dr -- GMX FreeDSL Komplettanschluss mit DSL 6.000 Flatrate und Telefonanschluss für nur 17,95 Euro/mtl.!* http://portal.gmx.net/de/go/dsl02