changed logging
This commit is contained in:
parent
c6e86a6797
commit
528f8e41fc
2 changed files with 4 additions and 4 deletions
|
|
@ -25,7 +25,7 @@ class Command:
|
|||
'''
|
||||
try:
|
||||
self.commandStart = dt.now()
|
||||
self.log.d("calling command " + str(self.command) + " at " + str(self.commandStart))
|
||||
self.log.i("calling command " + str(self.command) + " at " + str(self.commandStart))
|
||||
#self.output=sp.check_output(self.command.split())
|
||||
process = Popen(self.command, stdout=sp.PIPE, stderr=sp.PIPE, shell=True)
|
||||
self.output, self.error = process.communicate()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue