RE: [PHP] Unable to execute c++ .exe file from php
| From: | Ladan Pickering | Date: | Sat, 09 Nov 2002 02:54:18 +0000 |
| Subject: | RE: [PHP] Unable to execute c++ .exe file from php | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-123536@lists.php.net to get a copy of this message | ||
Thanks Ernest for your suggestion.
I tried you idea with forward and backward slashes and
nothing seem
to change. I still see the return_var of 128. PHP is
trying to tell me what
the problem was, but I am unable to find what 128
means. Any idea as
where the the "return_var" for the "system" and "exec"
commands are defined?
Thanks
--- Ernest E Vogelsinger <ernest@vogelsinger.at>
wrote:
> At 00:00 09.11.2002, Ladan Pickering said:
> --------------------[snip]--------------------
> >When I look at the program (hello.exe) under
> cygwin.
> >I see that the "x" bit is set for all. As far as I
> can
> >tell anyone is permitted to execute this program.
> --------------------[snip]--------------------
>
> Make your command like this
>
> c:/abc/hello.exe 2>&1
>
> to see if some error is given... might be a problem
> with environment space?
>
>
> --
> >O Ernest E. Vogelsinger
> (\) ICQ #13394035
> ^ http://www.vogelsinger.at/
>
>
__________________________________________________
Do you Yahoo!?
U2 on LAUNCH - Exclusive greatest hits videos
http://launch.yahoo.com/u2