nohup is my friend
This commit is contained in:
parent
029c9eedc0
commit
ea9c420fd4
|
@ -35,7 +35,8 @@ echo "$branch"
|
|||
[[ $? != 0 ]] && echo "[$p_name] PULL FAILED" && exit 1
|
||||
echo "[$p_name] RUN"
|
||||
fi
|
||||
(GITBUILDDIR="$BASEDIR" $BASEDIR/$p_name $p_name) &
|
||||
# Run in background and redirect output to $p_name.log
|
||||
(GITBUILDDIR="$BASEDIR" nohup $BASEDIR/$p_name $p_name > $BASEDIR/$p_name.log 2> $BASEDIR/$p_name.err) &
|
||||
done
|
||||
|
||||
rm $BASEDIR/.LOCK
|
||||
|
|
Loading…
Reference in New Issue