in reply to Re^2: Handling STDERR when using Net::OpenSSH
in thread Handling STDERR when using Net::OpenSSH
Can you please describe (or show relevant code) of your setup in a bit more detail just so we can understand your situation better?
I think your setup is something like the following:
local machine remote machine script Net::OpenSSH fastCGI script
... and you want to run the fastCGI script and get its output?
Maybe you can also show us how you're starting the fastCGI script exactly. Maybe FastCGI is happier with having actual filehandles (with inodes), or it wants a /dev/tty or a domain socket to interact with, instead what Net::OpenSSH provides directly.
A nasty alternative could be to set up just enough of Apache (or another FastCGI environment using Net::FastCGI or whatever), and then access the script via http...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Handling STDERR when using Net::OpenSSH
by Anonymous Monk on May 15, 2018 at 07:59 UTC | |
by salva (Canon) on May 22, 2018 at 08:58 UTC | |
by Anonymous Monk on Jun 01, 2018 at 00:44 UTC | |
by salva (Canon) on Jun 01, 2018 at 08:34 UTC |