From c0d8efc8a831c4f8a391731040d04b42b28c2dac Mon Sep 17 00:00:00 2001 From: Andrew Gaffney Date: Sun, 6 Jan 2008 20:02:24 +0000 Subject: add in exec() call svn path=/branches/new-fu/; revision=337 --- client/Scire/Job.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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'; } } -- cgit v1.2.3-65-gdbad