コード例 #1
0
    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)
コード例 #2
0
 def __call__(self):
     logExecute(self.doCommand)
コード例 #3
0
 def undo(self):
     if (self.undoCommand): logExecute(self.undoCommand)
コード例 #4
0
 def __init__(self, module):
     '''
     Constructor
     '''
     logpath = module.relativeLogFilePath % (module.targetDeploymentProfile)
     logExecute("tail -f " + module.targetDeploymentPath + scriptGlobals.osDirSeparator + logpath)