it should work fine in taint mode, just remember to clean your
environment vars with
$ENV{'PATH'} = '/bin:/usr/bin';
delete @ENV{'IFS', 'CDPATH', 'ENV', 'BASH_ENV'};
many of the details can be found in the apacheweek article mentioned
earlier in this thread. most of the work i have done with forking is
based on what you will find there.
just remember the difference between calling your standalone with
'exec' and calling it with 'system'
(exec never returns, it replaces the current process with the one you
call. whereas 'system' does a fork, and waits for the 'child' to
return.)
c
a
On Dec 2, 2005, at 5:15 AM, Tom Allison wrote:
Scott Lanning wrote:
On Thu, 1 Dec 2005, CrazyAndy wrote:
i like to do a sort of double fork for this kind of thing.
in my mason component, or loaded function, i make a system call to a
standalone script that does the fork with this:
Here's also a long article on forking in mod_perl by Stas Bekman:
http://www.apacheweek.com/features/mod_perl13
So I can use system...
I'm guessing that's going to be difficult to do under Taint.
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Mason-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mason-users