[PATCH 2/2] tests: kill subprocess from test_ap_acs.py
Johannes Berg
johannes at sipsolutions.net
Sun Apr 24 14:11:40 PDT 2016
On Sun, 2016-04-24 at 20:23 +0300, Jouni Malinen wrote:
>
> - cmd = ["ssh", self.user + "@" + self.host, command]
> + cmd = ["ssh", self.user + "@" + self.host, ' '.join(command)]
Using
cmd = ['ssh', self.user + '@' + self.host] + command
should work. This essentially leaves any quotion/unquoting to ssh.
Unfortunately, this really help - ssh uses the (login) shell on the
remote side to execute the commands, and evidently can't be convinced
to do anything else.
johannes
More information about the Hostap
mailing list