Difficulties with system() call

This is a discussion on Difficulties with system() call within the Apache Web Server forums, part of the Web Server and Related Forums category; Hi folks, I am trying to get a CGI program running under Apache on windows, it originally targeted IIS and ...


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 08-26-2004
Oliver White
 
Posts: n/a
Default Difficulties with system() call

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. :-)
  #2 (permalink)  
Old 08-26-2004
Davide Bianchi
 
Posts: n/a
Default Re: Difficulties with system() call

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.
  #3 (permalink)  
Old 08-26-2004
Oliver White
 
Posts: n/a
Default Re: Difficulties with system() call

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:
>
>>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
>

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 02:58 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0