Skip to content

pass parameters to chess engine #996

Answered by niklasf
sugizo asked this question in Q&A
Discussion options

You must be logged in to vote

The command parameter is equivalent to args in subprocess.Popen. Use:

await chess.engine.popen_uci(["/bin/lc0", "-w", "/content/lc0-net"])

or

chess.engine.SimpleEngine.popen_uci(["/bin/lc0", "-w", "/content/lc0-net"])

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by sugizo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants