|
|
@ -11,7 +11,7 @@ hostname = 'srv-sbis01' |
|
|
|
server = '192.168.1.56' |
|
|
|
|
|
|
|
def exec(exe): |
|
|
|
result = subprocess.Popen(exe, stdout=subprocess.PIPE, shell=True) |
|
|
|
result = subprocess.Popen(exe, stdout=subprocess.PIPE, stderr=subprocess.PIPE, shell=True) |
|
|
|
return result.communicate()[0].decode('utf-8') |
|
|
|
|
|
|
|
|
|
|
|