More efficient way to start a console app from a URL than a Perl script through CGI

Hello,

The architecture I'm working on (.NET, C#, IIS) launches a console application using a perl script, in a CGI file. So it can be launched by accessing a URL.

In the perl script, I make a call to the console application using:

    system("path_to_app.exe");

Now I have noticed that this console app, launched by perl, is a lot slower than when I run it directly on the server.
This is confirmed in the article: http://www.developer.com/lang/perl/article.php/1554501/Perl-Debunking-the-Speed-Myth.htm (under Tip 4).

Now I was wondering, is there a better way than this macgyver manoevre to start a console application using a cgi perl script?
Or else, is there an alternative in perl to speed things up a little?

Thank you for your time!
DieterWAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
dj_alikConnect With a Mentor Commented:
0
All Courses

From novice to tech pro — start learning today.