def launch_ssh(self, name, port):
        """Launch the ssh command in the child process"""
        if options.user:
            name = '%s@%s' % (options.user, name)
        evaluated = options.ssh % {'host': name, 'port': port}
        if evaluated == options.ssh:
            evaluated = '%s %s' % (evaluated, name)
        os.execlp('/bin/sh', 'sh', '-c', evaluated)
def launch_ssh ( self , name , port ) : if options . user : name = '%s@%s' % ( options . user , name ) evaluated = options . ssh % { 'host' : name , 'port' : port } if evaluated == options . ssh : evaluated = '%s %s' % ( evaluated , name ) os . execlp ( '/bin/sh' , 'sh' , '-c' , evaluated )
Launch the ssh command in the child process