Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: executing a program

by tall_man (Parson)
on Oct 21, 2004 at 18:00 UTC ( [id://401245]=note: print w/replies, xml ) Need Help??


in reply to executing a program

I think you would do better to use a module like IPC::Run, which can launch processes on both Windows and Linux using the native APIs of each. Fork is not supported well, if at all, on Windows.

You might want to think about sending a signal to a daemon process running on the side. Creating child processes in the web server directly will imply little control over waiting for them to finish.

Replies are listed 'Best First'.
Re^2: executing a program
by Mercio (Scribe) on Oct 21, 2004 at 18:20 UTC
    i have no clue what you mean by daemon adn child processes. I'm totally lost. Anyone know some docs i can read to understand all this.
      Is this web server under your control, or are you using a web server administered by someone else? In the latter case, my suggestion of running a daemon process (which just means a program running on the system outside the web server program) won't work unless you can persuade the administrator to set it up for you.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://401245]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2024-03-29 11:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found