def executeCmd(self,cmd):
     print cmd
     self.logger.writeLog(cmd)
     #tmp = os.popen(cmd).read()
     tmp = executeCmdSp(cmd)
     print tmp
     self.logger.writeLog(tmp)
     return tmp
def executeCmd(cmd):
    logger = autoscaleLog(__file__)
    print cmd
    logger.writeLog(cmd)
    #output = os.popen(cmd).read()
    output = executeCmdSp(cmd)
    print output
    logger.writeLog(output)
    logger.shutdownLog()
    return output
def executeCmd(cmd):
    logger = autoscaleLog(__file__)
    print cmd
    #cmd = unicode(cmd,'utf-8')
    print [cmd]
    output = executeCmdSp(cmd)
    print output
    logger.writeLog(cmd)
    logger.writeLog(output)
    logger.shutdownLog()
    return output
 def executeCmd(self,cmd):
     print cmd
     #tmp = os.popen(cmd).read()
     tmp = executeCmdSp(cmd)
     print tmp
     return tmp