Ejemplo n.º 1
0
def operate(cathcode, workingDirectory, mmultPath, verbose):
    """TO run mmult is mandatory to move to the working directory"""
    command = os.path.join(mmultPath,"mmult ")  + cathcode + ".mmult"
    #http://docs.python.org/lib/os-process.html#os-process
    if workingDirectory == ".":
        workingDirectory = os.getcwd()
    os.chdir(workingDirectory)
    executeCommand(command, verbose)