I wanna firstly thank you for your reply. Actually that .exe file is not notepad.exe . The whole thing belongs to a web-based program that does some kind of online simulation. The program used to be on Apache server and worked fine. Now I am trying to trasfer it on Windows server. But I came across the problem of processing the cgi files in Windows. That exe file is acutally a simulation exe file which reads some data from another txt file and do some calculation and make another output txt file. So the whole thing would be run on the server side, not client side. The user (client) "submit" some data in a html page which will run the cgi file. The cgi file put the submitted data in a txt file, and then calls the exe file and redirect to another html page which would contain the results of simulation. I have problem running that exe file under windows server! if I run the cgi file in the commandline (perl myfile.cgi), everthing works OK and that output is made. However, from IE , it halts in spite of the fact that the related "process" is called( as I checked in the "processor" tab.)

In reply to Server side by Anonymous Monk
in thread Running a .exe file in perl/cgi in windows 2000 server by hamibab

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.