RE: [PHP-GENERAL] Exec() trouble

[email protected] ("Liz Kimber")
Newsgroups php.general
Message-ID <[email protected]>
I'd suggest then that nohup isnt part of the shell its using...

Check to see if your system has a binary to do the same.

> -----Original Message-----
> From: Rafael Ernesto Bastidas L. [mailto:[email protected]]
> Sent: Tuesday, May 16, 2000 06:33
> To: Php-Dev
> Subject: [PHP-GENERAL] Exec() trouble
> 
> 
> Ok.. I want to run the following command line from a PHP3 web page:
> 
> nohup /usr/local/games/q3a/linuxq3ded +set dedicated = 0 +exec
> serveralone.cfg&
> 
> As you can see, the path is /usr/local/games/q3a/ and the command line is
> 
> linuxq3ded +set dedicated = 0 +exec serveralone.cfg'
> 
> but the program doesn't run, I type ps -A in telnet window and linuxq3ded
> doesnt appear. It does appear when I run the same command in the telnet
> session.
> 
> What am I doing wrong? The program has chmod 777
> 
> Please help
> 
> Rafael
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> To contact the list administrators, e-mail: [email protected]
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.