in reply to Net::SFTP::Foreign use in Daemonized script

That problem is caused by a bug in IPC::Open3. Try the latest development version of Net::SFTP::Foreign that does not use it.

You may also need to add stderr_discard => 1 into the constructor call (the module already detects a closed STDERR and handles it, I had forgotten it!)

Replies are listed 'Best First'.
Re^2: Net::SFTP::Foreign use in Daemonized script
by koyrist (Novice) on Oct 24, 2011 at 13:24 UTC

    Thanks salva!

    That did the trick. A quick download of the dev version you've linked to and the script worked like a charm.

    -- koyrist