Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

Re: executing a program

by tall_man (Parson)
on Oct 21, 2004 at 18:00 UTC ( #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?

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (6)
As of 2021-04-20 13:33 GMT
Find Nodes?
    Voting Booth?

    No recent polls found