Properly ignore stderr and redirect stdout when execute a command
fix #2933
This commit is contained in:
parent
0975b343f0
commit
c580840d77
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ class Executor(threading.Thread):
|
|||
log.error('Could not open redirection file: %s', self.filename, exc_info=True)
|
||||
return
|
||||
try:
|
||||
subprocess.call(self.command)
|
||||
subprocess.call(self.command, stdout=stdout, stderr=DEVNULL)
|
||||
except:
|
||||
if self.remote:
|
||||
import traceback
|
||||
|
|
Loading…
Reference in a new issue