On Wed, Mar 11, 2009 at 12:08 PM, Stephen Ince <[email protected]> wrote:
> Is there a portable way to exec a file within the apr?
> I noticed that apr_proc_fork is not portable.
> I basically want to do the following.
>
> #setup stdin and stdout.
> exec("/my file") in a separate process.
> #wait for the process.


apr_procattr_* is available:

http://svn.apache.org/viewvc/apr/apr/trunk/include/apr_thread_proc.h?view=co
http://svn.apache.org/viewvc/apr/apr/trunk/test/testproc.c?view=co


-- 
Eric Covener
[email protected]

Reply via email to