stopStockfish: Stop running stockfish process

View source: R/startStockfish.R

stopStockfishR Documentation

Stop running stockfish process

Description

Use for cleanup

Usage

stopStockfish(stockfish)

Arguments

stockfish

A running stockfish (or technically any other process started by subprocess::spawn_process) process.

Examples

stockfish = startStockfish()
stockStep(posString = 'startpos',movetime = 1000,stockfish = stockfish)
stopStockfish()

oganm/stockfisher documentation built on July 20, 2024, 1:49 p.m.