Re: Embeding an executable into a script

2004-02-10 Thread david
Okay here's an architecture for you: Wrap your application in an independent server program that will be long-running, and then instead of invoking your application (which you said was expensive) you can open a unix socket to your application server program and talk with it that way. See perldoc

RE: Embeding an executable into a script

2004-02-10 Thread Ged Haywood
Hi there, On Mon, 9 Feb 2004, Pierre Smolarek wrote: > Is there a way to somehow attach the required executable somehow inside the > httpd alongside mod_perl (in resident memory) instead of forking out the > call to the system. No. Even if it could be done, it could not be maintained. I really

RE: Embeding an executable into a script

2004-02-09 Thread Pierre Smolarek
an executable into a script On Mon, 2004-02-09 at 15:37, Pierre Smolarek wrote: > Take for example, top. Is it possible to embed top inside a mod_perl > script and/or keep it in resident memory so there is no forking out? The most common way to solve this problem is to find a C library tha

Re: Embeding an executable into a script

2004-02-09 Thread Perrin Harkins
On Mon, 2004-02-09 at 15:37, Pierre Smolarek wrote: > Take for example, top. Is it possible to embed top inside a mod_perl > script and/or keep it in resident memory so there is no forking out? The most common way to solve this problem is to find a C library that does what you want and then write

RE: Embeding an executable into a script

2004-02-09 Thread Pierre Smolarek
Cc: [EMAIL PROTECTED] Subject: Re: Embeding an executable into a script Hi there, On Mon, 9 Feb 2004, Pierre Smolarek wrote: > To help improve script speed with mod perl, we need to somehow embed an > executable inside a mod_perl script. Forgive me for being cynical, but your explanat

Re: Embeding an executable into a script

2004-02-09 Thread Ged Haywood
Hi there, On Mon, 9 Feb 2004, Pierre Smolarek wrote: > To help improve script speed with mod perl, we need to somehow embed an > executable inside a mod_perl script. Forgive me for being cynical, but your explanation is unconvincing. > Take for example, top. Is it possible to embed top inside a