END {
log_debug { "Killing all child processes in the process group" };
+ #FIXME update along with setpgrp() to not use a process
+ #group anymore
+
#send SIGINT to the process group for our children
kill(1, -2);
}
log_trace { "Setting process group of child process '$pid'" };
+ #FIXME moving things into a process group has side effects for
+ #users of the library - move to a list
setpgrp($self->child_pid, 1);
};
or /\Q$Config{archname}/ or /\Q$Config{myarchname}/)
), keys %mods;
-#print STDERR "non-core non-arch ", Dumper(\@non_core_non_arch);
-#print STDERR "core non-arch ", Dumper(\@core_non_arch);
-
-#TODO this is the wrong path to go down - fork() will bring
-#the env vars with it and the ssh connector can handle
-#forwarding the env vars
+#FIXME - encode the env vars in YAML or something similiar and make the
+#env vars that will be forwarded driven by a list
my $env_pass = '';
if (defined($ENV{OBJECT_REMOTE_LOG_LEVEL})) {
my $level = $ENV{OBJECT_REMOTE_LOG_LEVEL};