Re: Exec() again
| From: | Ross Fleming | Date: | Wed, 10 Oct 2001 15:47:27 +0000 |
| Subject: | Re: Exec() again | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-9785@lists.php.net to get a copy of this message | ||
Sorry mate, I assumed that's what you were doing, sorry!! There was a
message similar to this a while ago where someone wanted to exec something
on the users PC.
exec('c:\program files\winamp\winamp.exe > empty.file');
Should do the trick. I take it winamp was loading but the page would hang?
PHP waits for exec to finish first. Rerouting the output to a blank file
should do the trick. Hope it helps
Ross
-----Original Message-----
From: Yaroukh [mailto:yaroukh@email.cz]
Sent: 10 October 2001 15:55
To: php-windows@lists.php.net
Subject: Re: [PHP-WIN] Exec() again
This works:
Exec("mkdir myDirectory");
... this doesn't:
Exec("C:\\Program Files\\WinAmp\\winamp.exe");
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
For additional commands, e-mail: php-windows-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net