forkAndExec -I buggo

This commit is contained in:
Paul Driver 2010-11-08 08:39:14 -06:00
parent 21ae5f0094
commit 1de231b7d7

View file

@ -295,7 +295,7 @@ sub forkAndExec {
my $id = $self->getId;
my $class = ref $self;
my $json = JSON::encode_json($request);
my @inc = $class->cleanINC(@INC);
my @inc = map { "-I$_" } $class->cleanINC(@INC);
my @argv = (@inc, "-M$class", "-e$class->runCmd()" );
$class->daemonize(
$json,