in reply to Running Command Line Programs from a CGI Script

My first instinct would be to check whether the user the webserver is running under has the same permissions as the login you are using. If not, it may not have permissions to do what you are trying to.
  • Comment on Re: Running Command Line Programs from a CGI Script

Replies are listed 'Best First'.
Re^2: Running Command Line Programs from a CGI Script
by Anonymous Monk on Jun 10, 2005 at 18:47 UTC
    Actually if I input a simple octave script, it runs fine on the server. It is just when I input a long-running script that it returns nothing, leading me to the idea of timeout issues.

    Unfortunately I can't find docs about timeouts in this scenario anywhere.
      What kind of server are you running and how long is "long-running"? I think the default timeout for Apache is fairly long, maybe 5 minutes?