note 105381 rejected from function.exec by danbrown
| From: | danbrown@php.net | Date: | Sat, 13 Aug 2011 15:44:56 +0000 |
| Subject: | note 105381 rejected from function.exec by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-182467@lists.php.net to get a copy of this message | ||
Note Submitter: adityajoshi94 at yahoo dot com
----
$cmd = "C:\Program Files (x86)\pl\bin\swipl -f test1.pl -g test " halt;
exec( $cmd );
nothing happens when i try to run my php code it waits for while and returns to command prompt on
windows/system32/exe
but when i execute the same command on cmd line i get the desired out put
C:\Program Files (x86)\pl\bin\swipl -f test1.pl -g test " halt;
i had been trying it for last two days, any help will be highly appreciated
Thanks in advance for all people who will give it a thought and help me