in reply to SCP and tty

Are you running your script on Apache with mod_perl?

mod_perl sets the standard IO streams to tied file handles that are not backed by real file descriptors at the operating system level and that often breaks code running external programs.

Replies are listed 'Best First'.
Re^2: SCP and tty
by croddam (Initiate) on May 09, 2013 at 20:36 UTC
    I'm not using mod_perl, but your explanation makes sense.

    I've had the hardest time figuring this out