def spur_spawn_engine(shell, command, *, engine_cls=Engine): """ Spawns a remote engine using a `Spur`_ shell. >>> import spur >>> shell = spur.SshShell(hostname="localhost", username="******", password="******") >>> engine = chess.xboard.spur_spawn_engine(shell, ["/usr/games/crafty"]) >>> engine.xboard() .. _Spur: https://pypi.python.org/pypi/spur """ return _spur_spawn_engine(shell, command, engine_cls)
def spur_spawn_engine(shell, command, engine_cls=Engine): """ Spawns a remote engine using a `Spur`_ shell. >>> import spur >>> shell = spur.SshShell(hostname="localhost", username="******", password="******") >>> engine = chess.xboard.spur_spawn_engine(shell, ["/usr/games/crafty"]) >>> engine.xboard() .. _Spur: https://pypi.python.org/pypi/spur """ return _spur_spawn_engine(shell, command, engine_cls)