SLIDER-153 more on execing scripts
Project: http://git-wip-us.apache.org/repos/asf/incubator-slider/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-slider/commit/acdfe5bd Tree: http://git-wip-us.apache.org/repos/asf/incubator-slider/tree/acdfe5bd Diff: http://git-wip-us.apache.org/repos/asf/incubator-slider/diff/acdfe5bd Branch: refs/heads/develop Commit: acdfe5bd6dfe59daca573a5e28271d9950467b16 Parents: 918e746 Author: Steve Loughran <ste...@apache.org> Authored: Mon Jun 23 14:47:28 2014 -0700 Committer: Steve Loughran <ste...@apache.org> Committed: Mon Jun 23 14:47:28 2014 -0700 ---------------------------------------------------------------------- slider-assembly/src/main/scripts/slider.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-slider/blob/acdfe5bd/slider-assembly/src/main/scripts/slider.py ---------------------------------------------------------------------- diff --git a/slider-assembly/src/main/scripts/slider.py b/slider-assembly/src/main/scripts/slider.py index e846e64..2c1f4b3 100644 --- a/slider-assembly/src/main/scripts/slider.py +++ b/slider-assembly/src/main/scripts/slider.py @@ -89,11 +89,10 @@ def main(): slider_classpath_extra = os.environ.get(SLIDER_CLASSPATH_EXTRA, "") p = os.pathsep # path separator d = os.sep # dir separator - slider_classpath = '"' + \ - libdir + d + "*" + p \ + slider_classpath = libdir + d + "*" + p \ + confdir + p \ - + slider_classpath_extra \ - + '"' + + slider_classpath_extra + print "slider_home = \"%s\"" % slider_home print "slider_jvm_opts = \"%s\"" % slider_jvm_opts @@ -111,7 +110,7 @@ def main(): return subprocess.call(commandline, stdin=None, stdout=subprocess.PIPE, - stderr=subprocess.PIPE, + stderr=subprocess.STDOUT, shell=False)