parent
bbcfda8c18
commit
d9a09916d4
1 changed files with 1 additions and 1 deletions
|
@ -479,7 +479,7 @@ class ThreadedTCPRequestHandler(SocketServer.BaseRequestHandler):
|
||||||
if executable:
|
if executable:
|
||||||
use_unsafe_shell = True
|
use_unsafe_shell = True
|
||||||
|
|
||||||
rc, stdout, stderr = self.server.module.run_command(data['cmd'], executable=executable, use_unsafe_shell=use_unsafe_shell)
|
rc, stdout, stderr = self.server.module.run_command(data['cmd'], executable=executable, use_unsafe_shell=use_unsafe_shell, close_fds=True)
|
||||||
if stdout is None:
|
if stdout is None:
|
||||||
stdout = ''
|
stdout = ''
|
||||||
if stderr is None:
|
if stderr is None:
|
||||||
|
|
Loading…
Reference in a new issue