summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xrunjobsparallel.in5
1 files changed, 4 insertions, 1 deletions
diff --git a/runjobsparallel.in b/runjobsparallel.in
index 1e5648c..e567d20 100755
--- a/runjobsparallel.in
+++ b/runjobsparallel.in
@@ -20,7 +20,10 @@ for file in ./*; do
if [ -f $file ] && [ -x $file ]; then
i=${#errFiles[@]}
errFiles[${i}]="${tmpDir}/err.${i}"
- (nice -n 19 $file; echo $? > "${errFiles[${i}]}")&
+ (
+ nice -n 19 $file
+ echo $? > "${errFiles[${i}]}"
+ )&
pids[${i}]=$!
fi
done