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

Posted on 2011-05-11
Last Modified: 2013-12-25

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!
Question by:DieterW
    1 Comment
    LVL 18

    Accepted Solution


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Course: HTML5 Specialist

    HTML5 development skills are critical to all developers. HTML5 is the foundation to almost any development process. That's why business, design studios, development shops and other organizations need HTML5 developers. Get your foot in the door as a HTML5 specialist.

    Suggested Solutions

    There are many situations when we need to display the data in sorted order. For example: Student details by name or by rank or by total marks etc. If you are working on data driven based projects then you will use sorting techniques very frequently.…
    In the distant past (last year) I hacked together a little toy that would allow a couple of Manager types to query, preview, and extract data from a number of MongoDB instances, to their tool of choice: Excel (…
    The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.
    In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    10 Experts available now in Live!

    Get 1:1 Help Now