Skip to content
Snippets Groups Projects
Commit 3bb2e079 authored by Peters, Wouter's avatar Peters, Wouter
Browse files

added logic to suspend running process while child processes finish

parent 5b3059fc
Branches
No related tags found
No related merge requests found
......@@ -64,8 +64,8 @@ class JetPlatForm(PlatForm):
def SuspendJob(self):
""" Method suspends the running job"""
cmd = ['qmod','-sj',self.GetMyID]
output = subprocess.call(cmd,stdout=subprocess.PIPE).communicate()[0] ; logging.info(output)
cmd = ['qmod','-sj',self.GetMyID()]
output = subprocess.Popen(cmd, stdout=subprocess.PIPE).communicate()[0] ; logging.info(output)
def SubmitJob(self,jobfile,method='qsub'):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment