Executing an External Program using exec()
| From: | Chris Anderson | Date: | Fri, 04 May 2001 05:50:45 +0000 |
| Subject: | Executing an External Program using exec() | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-51582@lists.php.net to get a copy of this message | ||
Alright, I've been doing GTK work recently and decided I wanted a way
to remove that damn PHP console that appears in the background. So to
accomplish this, I wrote a C++ program to remove the window. Well the
program works flawlessly on its own, but if php calls it using the
exec() function nothing happens. Nothing at all. Any ideas?
Chris Anderson aka "Null"
--------------------------------------------
PHP Developer / Nulltech
PHP-GTK Documentation Writer / gtk.php.net
STA-DoD, TO and D-Day Administrator / dod.stronger.org,
to.stronger.org, dday.stronger.org
Zeroping Staff Member / www.zeroping.com
Volition Programmer / www.Volition-net.com