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


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:


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: (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!
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

dj_alikConnect With a Mentor Commented:
All Courses

From novice to tech pro — start learning today.