system() function
| From: | Daniel Lynn | Date: | Mon, 12 Mar 2001 23:42:58 +0000 |
| Subject: | system() function | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-43581@lists.php.net to get a copy of this message | ||
I'm having an interesting problem. I'm running on an NT machine. I'm
using the function:
system("F:/full/path/program");
I've tried it using all kinds of forms of forward and back slashing,
doesn't seem to matter... oddly enough, if I copy the text out from
between the quote and paste it into a command window it runs fine. I
also tried using the exec command, but no luck. The intiger return
variable is -1, which I assume to mean it failed...
I'm completely lost now so if anyone has any ideas, input, or longshots,
I'd be happy to hear them. Thanks
-Daniel