I found few sample codes too ! but I have difficulty in following the code.
If you've been following some threads here, you probably have seen
the classical Watching
long-running processes through CGI being mentioned. You could try to implement
something along these lines, and in case you get stuck, come back here
with the code you've tried and what exactly didn't work.
That would be for Unix systems. I can't comment on how to achieve
the same on Windows, because I've never run a webserver on Windows for
anything serious. But I suspect the system differences with respect to
fork/exec and how the webserver handles its pipes to the CGI program
might be large enough to require a slightly different approach...
Hopefully, someone else knows more.
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|