apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Trawick <traw...@attglobal.net>
Subject apr_proc_create() cmdtype flavors and environment inheritance; incompatible API change desired?
Date Fri, 11 Jun 2004 15:42:19 GMT
whether or not the envionment is inherited should be orthogonal to some other 
details of starting the program (via shell, searching or not searching PATH), 
but API does not reflect that

I need a way to start the new process via the shell *and* inherit the 
environment of the calling process, but there is no such support at present.

attached patch simplify_patch changes how the app tells APR whether or not 
environment should be inherited in general, reducing the number of cmdtype 
enums and at the same time increasing the number of ways apr_proc_create can be 
used; this seems appropriate for 1.0

attached patch extend_patch adds yet another cmdtype flavor so app can specify 
to run the command via the shell and have it inherit the environment of the 
calling process; this seems appropriate for 0.9


View raw message