qssh needs to mimic the way in which executes remote commands

This commit is contained in:
Manuel Amador (Rudd-O) 2015-10-23 00:32:00 +00:00
parent 3347c9722c
commit 9a30a0e29b

View File

@ -41,6 +41,6 @@ while True:
cmd = [
path_to_bombshell,
host,
] + rest
] + ["sh", "-c", " ".join(rest)]
os.execvp(cmd[0], cmd)