Re: exec() not exec-ing?

From: Date: Sat, 04 Jan 2003 07:46:40 +0000
Subject: Re: exec() not exec-ing?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-130211@lists.php.net to get a copy of this message
On Saturday 04 January 2003 14:20, gilrain wrote: > // Close file, call script in background, return. > fclose($mailing); > exec("python ncMailer.py >/dev/null &"); > return true; > } > > The mailing file is written fine, and the Python script parses the file and > e-mails fine, as long as I run it myself from the shell. However, the > exec() call appears to do nothing at all, least of all run my script. I've > tried a number of different things, but nothing seems to work. Try specifying the full path to the python binary and possibly the full path to ncMailer.py as well. -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * /* The profession of book writing makes horse racing seem like a solid, stable business. -- John Steinbeck [Horse racing *is* a stable business ...] */

« previous php.general (#130211) next »