summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Clark <jon.h.clark@gmail.com>2011-03-11 11:06:48 -0500
committerJonathan Clark <jon.h.clark@gmail.com>2011-03-11 11:06:48 -0500
commiteda8d83cd957463d32980da7c60085a820f7eae0 (patch)
tree926dce86e501c22e0a73314e14818bfc3dd88e30
parent6b25a85dd45af5982e07577b33c64e3b577579c3 (diff)
be more verbose when running each child decoder process when forking. also, avoid some non-bash errors
-rwxr-xr-xvest/parallelize.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/vest/parallelize.pl b/vest/parallelize.pl
index c2526503..b4783f91 100755
--- a/vest/parallelize.pl
+++ b/vest/parallelize.pl
@@ -347,7 +347,7 @@ sub launch_job_fork {
my ($fh, $scr_name) = get_temp_script();
print $fh $script;
close $fh;
- my $todo = "/bin/sh $scr_name 1> $outfile 2> $errorfile";
+ my $todo = "/bin/bash -xeo pipefail $scr_name 1> $outfile 2> $errorfile";
print STDERR "EXEC: $todo\n";
my $out = check_output("$todo");
print STDERR "RES: $out\n";