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 ...]
*/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php