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

This node falls below the community's minimum standard of quality and will not be displayed.

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.