in reply to Net::OpenSSH and fork()

You might want to look at POE::Component::OpenSSH instead of battling with processes.