def makeRunnable(self, tempDir):
        from sonLib.bioio import getTempFile
        from jobTree.src.bioio import workflowRootPath

        pickleFile = tempDir.getTempFile(".pickle")
        fileHandle = open(pickleFile, 'w')
        cPickle.dump(self, fileHandle, cPickle.HIGHEST_PROTOCOL)
        fileHandle.close() 
        multijobexec = os.path.join(workflowRootPath(), "bin", "multijob")
        jtPath = os.path.split(workflowRootPath())[0]
        return "%s %s %s" % (multijobexec, pickleFile, jtPath)
dataset/ETHPy150Open benedictpaten/jobTree/batchSystems/multijob.py/MultiTarget.makeRunnable/original