When executed as a main script, the first argument is taken as the command and
the rest as arguments, and the command is run on the condor cluster. stdout
and stderr from the command is echoed.
+Note: the job dir is not being deleted on exit, this is a bug. It's useful to
+leave the dir around for debugging, so it should be an option, but the default
+should be to clean up the temp dir.
self.cluster_id = m.group(1)
self.state = CondorJob.SUBMITTED
+ open(os.path.join(self.job_dir, "cid_%s" % self.cluster_id),