|
|
|
@ -894,9 +894,9 @@ class Connection(ConnectionBase):
|
|
|
|
cmd = map(to_bytes, self._build_command(self._play_context.ssh_executable, '-O', 'stop', self.host))
|
|
|
|
cmd = map(to_bytes, self._build_command(self._play_context.ssh_executable, '-O', 'stop', self.host))
|
|
|
|
controlpersist, controlpath = self._persistence_controls(cmd)
|
|
|
|
controlpersist, controlpath = self._persistence_controls(cmd)
|
|
|
|
if controlpersist:
|
|
|
|
if controlpersist:
|
|
|
|
|
|
|
|
display.vvv(u'sending stop: %s' % cmd)
|
|
|
|
p = subprocess.Popen(cmd, stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
|
|
|
p = subprocess.Popen(cmd, stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
|
|
|
stdout, stderr = p.communicate()
|
|
|
|
stdout, stderr = p.communicate()
|
|
|
|
display.vvv(u'sending stop: %s' % cmd)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
self.close()
|
|
|
|
self.close()
|
|
|
|
|
|
|
|
|
|
|
|
|