We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f28de02 commit c795420Copy full SHA for c795420
node/nodewatcher/plugins/sge.py
@@ -19,7 +19,8 @@ def getJobs(hostname):
19
command = ['/opt/sge/bin/idle-nodes']
20
try:
21
_output = subprocess.Popen(command, stdout=subprocess.PIPE,
22
- env=dict(os.environ, SGE_ROOT='/opt/sge')).communicate()[0]
+ env=dict(os.environ, SGE_ROOT='/opt/sge',
23
+ PATH='/opt/sge/bin:/opt/sge/bin/lx-amd64:/bin:/usr/bin')).communicate()[0]
24
except subprocess.CalledProcessError:
25
print ("Failed to run %s\n" % command)
26
0 commit comments