def qdel_batch(self):
p = subprocess.Popen(['<STR_LIT>', '<STR_LIT>' % (self.batch_name,<EOL>self.job_timestamp)],<EOL>stdout=subprocess.PIPE)<EOL>(stdout, stderr) = p.communicate()<EOL>return p.poll()<EOL>
Runs qdel command to remove all remaining queued jobs using
the <batch_name>* pattern . Necessary when StopIteration is
raised with scheduled jobs left on the queue.
Returns exit-code of qdel.