Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

executing command using qx//

by thinkdifferent (Initiate)
on Apr 24, 2008 at 06:16 UTC ( [id://682564]=perlquestion: print w/replies, xml ) Need Help??

thinkdifferent has asked for the wisdom of the Perl Monks concerning the following question:

This node falls below the community's threshold of quality. You may see it by logging in.

Replies are listed 'Best First'.
Re: executing command using qx//
by citromatik (Curate) on Apr 24, 2008 at 06:27 UTC

    If it is urgent, the first think you should care about is to facilitate the comprehension of your problem. What does it mean that it doesn't work? Does you CGI produce any warning or error? If yes, which? What say the logs? How are you using the qx operator?, could you share with us your code so far?

    citromatik

Re: executing command using qx//
by thezip (Vicar) on Apr 24, 2008 at 06:26 UTC

    My guess would be that you're not taking into account the webserver's CGI mapping to the script. If you've specified the physical filename (as the OS sees it), then the webserver will not be able to find it.

    Have you verified that your CGI script can find the resources specified in the qx// ?

    BTW, you don't need to act so pathetically desperate. Monks like patience, and will generally tend to help you faster if you don't act like that.


    Your wish is my commandline.
Re: executing command using qx//
by andreas1234567 (Vicar) on Apr 24, 2008 at 08:34 UTC
Re: executing command using qx//
by cdarke (Prior) on Apr 24, 2008 at 07:15 UTC
    Another common problem is that the PATH environment variable is different when running from a Web server. Try specifying the full path name of whatever you are running.
    Or it might be permissions, or anything really. Without the error message we are guessing.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (3)
As of 2024-04-19 22:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found