Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: mysterious backticks/system() behavior in CGI script

by chromatic (Archbishop)
on Apr 10, 2000 at 23:22 UTC ( #7256=note: print w/replies, xml ) Need Help??


in reply to mysterious backticks/system() behavior in CGI script

Aside from seconding the use of PerlMagick, the only other thing I can think of is putting $! in the "failed to open" line, so you can check the exact error reported by the open call.

I did some testing on my machine, and everything else in that snippet looks okay. (ImageMagick doesn't give me any output when I try that exact line, either.)

Maybe the whole process is chroot()ed? That's just a stab in the dark.

  • Comment on Re: mysterious backticks/system() behavior in CGI script

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://7256]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (3)
As of 2022-05-20 16:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (75 votes). Check out past polls.

    Notices?