def __init__(self, module): ''' Constructor ''' for line in os.popen("echo $HOME"): fields = line.split() logpath = fields[0] + "/logs/" + module.relativeLogFilePath #logpath = module.relativeLogFilePath % (module.targetDeploymentProfile) logExecute("tail -f " + logpath)
def __call__(self): logExecute(self.doCommand)
def undo(self): if (self.undoCommand): logExecute(self.undoCommand)
def __init__(self, module): ''' Constructor ''' logpath = module.relativeLogFilePath % (module.targetDeploymentProfile) logExecute("tail -f " + module.targetDeploymentPath + scriptGlobals.osDirSeparator + logpath)