summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Gaffney <agaffney@gentoo.org>2008-01-06 20:02:24 +0000
committerAndrew Gaffney <agaffney@gentoo.org>2008-01-06 20:02:24 +0000
commitc0d8efc8a831c4f8a391731040d04b42b28c2dac (patch)
tree0d8c437b9cb7455ccbca11698add70f3937f1148
parentremove unneeded module (diff)
downloadscire-c0d8efc8a831c4f8a391731040d04b42b28c2dac.tar.gz
scire-c0d8efc8a831c4f8a391731040d04b42b28c2dac.tar.bz2
scire-c0d8efc8a831c4f8a391731040d04b42b28c2dac.zip
add in exec() call
svn path=/branches/new-fu/; revision=337
-rw-r--r--client/Scire/Job.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/client/Scire/Job.pm b/client/Scire/Job.pm
index 25d9ce8..9216116 100644
--- a/client/Scire/Job.pm
+++ b/client/Scire/Job.pm
@@ -77,7 +77,9 @@ sub run {
}
# XXX: exec() to run our command. our STDOUT and STDERR have been
# redirected to the files specified, and the exit code is returned
- # to the main process when we're done executing
+ # to the main process when we're done executing. This will be changed
+ # to the path of the script we've written to disk once that code is in
+ exec '/bin/sh', '-c', 'echo foo; echo bar >&2';
}
}