Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

Re: perl stdout and backtick execute

by dasgar (Priest)
on Oct 25, 2013 at 00:13 UTC ( #1059568=note: print w/replies, xml ) Need Help??

in reply to perl stdout and backtick execute

I'm more of a Windows guy, but that /var/www/cgi-bin looks like it's a directory used by a web server. If so, there may be different permissions for that directory and the STDOUT of the script when running from that directory might not be STDOUT of the shell (i.e. it's expecting to be run via web browser request through the web server, in which case STDOUT is HTTP response back to requesting client browser). Also, you might want to double-check the permissions for the script file after copying it to that directory.

That's my initial thoughts. But like I said, I'm more familiar with Windows, which means I could be wrong.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1059568]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (3)
As of 2018-03-19 01:51 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (231 votes). Check out past polls.