From 4c4a3a198bddb89eaa745182b2cb233cc275e82f Mon Sep 17 00:00:00 2001 From: AndyGrant Date: Thu, 16 Apr 2020 06:01:15 -0400 Subject: [PATCH] Split command into an engine path and an engine name to resolve issues with finding the binary --- Client/Client.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Client/Client.py b/Client/Client.py index 70edf3c..65a1898 100644 --- a/Client/Client.py +++ b/Client/Client.py @@ -197,13 +197,13 @@ def getCutechessCommand(arguments, data, nps): ) # Options for the Dev Engine - devflags = '-engine cmd=./Engines/{0} proto={1} tc={2}{3} name={4}'.format( + devflags = '-engine dir=Engines/ cmd=./{0} proto={1} tc={2}{3} name={4}'.format( data['test']['dev']['sha'], data['test']['dev']['protocol'], timecontrol, devoptions, '{0}-{1}'.format(data['test']['engine'], data['test']['dev']['sha'][:8]) ) # Options for the Base Engine - baseflags = '-engine cmd=./Engines/{0} proto={1} tc={2}{3} name={4}'.format( + baseflags = '-engine dir=Engines/ cmd=./{0} proto={1} tc={2}{3} name={4}'.format( data['test']['base']['sha'], data['test']['base']['protocol'], timecontrol, baseoptions, '{0}-{1}'.format(data['test']['engine'], data['test']['base']['sha'][:8]) )