|
Home > Archive > Apache Server configuration support > August 2004 > Difficulties with system() call
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Difficulties with system() call
|
|
| Oliver White 2004-08-27, 6:35 pm |
| Hi folks,
I am trying to get a CGI program running under Apache on windows, it
originally targeted IIS and is written in C++.
My problem is that the system("fop.bat ...") call causes an internal
server error, whereas a test shows that the windows API call
CreateProcess() does not have this problem.
Can anyone suggest a configuration setting that might affect the
operation of the system() call?
Thanks for your help. :-)
| |
| Davide Bianchi 2004-08-27, 6:35 pm |
| On 2004-08-26, Oliver White <ojw@iprimus.com.au> wrote:
> I am trying to get a CGI program running under Apache on windows, it
> originally targeted IIS and is written in C++.
This have nothing to do with Apache, you'd better post this on
some windows-programming related groups.
Davide
--
(1) Alexander the Great was a great general.
(2) Great generals are forewarned.
(3) Forewarned is forearmed.
(4) Four is an even number.
(5) Four is certainly an odd number of arms for a man to have.
(6) The only number that is both even and odd is infinity.
Therefore, Alexander the Great had an infinite number of arms.
| |
| Oliver White 2004-08-27, 6:35 pm |
| Well I figure it is related to apache somehow. I'm not too sure, but it
might be that the system() call on windows actually spawns cmd.exe, is
there something in the configuration of apache that would prevent this?
Davide Bianchi wrote:
> On 2004-08-26, Oliver White <ojw@iprimus.com.au> wrote:
>
>
>
> This have nothing to do with Apache, you'd better post this on
> some windows-programming related groups.
>
> Davide
>
|
|
|
|
|