RE: [PHP-WIN] passthru(), system(), exec()
| From: | John Ellingsworth | Date: | Thu, 18 Sep 2003 15:43:21 +0000 |
| Subject: | RE: [PHP-WIN] passthru(), system(), exec() | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-21428@lists.php.net to get a copy of this message | ||
Here's how I do it with passthru():
$cmd = "mycmd.exe Keyword(\"+$keyword[$k];|d:$origpath\")";
passthru($cmd);
Thanks,
John Ellingsworth
http://mail.med.upenn.edu/~jellings/
-----Original Message-----
From: Aidal [mailto:aidal@nospam.dk]
Sent: Thursday, September 18, 2003 9:03 AM
To: php-windows@lists.php.net
Subject: [PHP-WIN] passthru(), system(), exec()
Hi everyone.
I have absolutely no doubt that this has been asked and answered before
somewhere, but anyway...
How is it that you work around the problem with spaces in the file path when
using passthru(), system() or exec() ?
I have had the problem before a while back and I can't remember how I solved
it back then.
Any suggestions?
/Aidal
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php