summaryrefslogtreecommitdiffstats
path: root/hyper/process
diff options
context:
space:
mode:
authortv <tv@iiso>2011-09-20 15:45:30 +0200
committertv <tv@iiso>2011-09-20 15:45:30 +0200
commitfcbb481cbd888d6ab66b09e649c754a012198e53 (patch)
tree4a170454bbd7fc0b587d15de28dbd03e41e6a4ba /hyper/process
parent8e30185619d6cdc8ec2cd5dd0f341ffabef2d563 (diff)
//hyper spawn: set +x before rediring popes
Diffstat (limited to 'hyper/process')
-rwxr-xr-xhyper/process/spawn1
1 files changed, 1 insertions, 0 deletions
diff --git a/hyper/process/spawn b/hyper/process/spawn
index cf93eb6b..65e94d86 100755
--- a/hyper/process/spawn
+++ b/hyper/process/spawn
@@ -42,6 +42,7 @@ spawn() {
# spawn child process
( : "in $PWD/ spawn ${*:-nothing}"
+ set +x # disable debug output so we don't clobber 2
exec 0>&- 1>&- 2>&- 0<>0 1<>1 2<>2
cd "$cwd"
exec "$@") &