Using system() at Web Host
I'm using system() to run a program (mailer.exu) when a link on my web page is
clicked. The thing is, the program I run will be doing something like this:
while TRUE do
-- do some stuff
sleep(300) -- sleep on it
if time_to_exit() then
exit
end if
end while
So it should stay active once the web server is done with the system() call,
but it seems to hang, waiting for system() to return with something. I know
that should not be the case with system().
Any hints on how to track this down? It seems the mailer.exu program and the
web server are intricately linked when they should not be.
-=ck
"Programming in a state of EUPHORIA."
http://www.cklester.com/euphoria/
|
Not Categorized, Please Help
|
|