Also do not nice priority of a remote shell
authorH.G.Muller <hgm@hgm-xboard.(none)>
Mon, 17 Jun 2019 11:59:04 +0000 (13:59 +0200)
committerH.G.Muller <hgm@hgm-xboard.(none)>
Mon, 17 Jun 2019 11:59:04 +0000 (13:59 +0200)
When the engine is really running elsewhere the program used to
communicate it should not have lowered priority.

backend.c

index a3220c2..ba9b49b 100644 (file)
--- a/backend.c
+++ b/backend.c
@@ -11195,7 +11195,7 @@ StartChessProgram (ChessProgramState *cps)
          snprintf(buf, sizeof(buf), "%s %s -l %s %s", appData.remoteShell,
                    cps->host, appData.remoteUser, cps->program);
        }
-       err = StartChildProcess(buf, "", &cps->pr, priority);
+       err = StartChildProcess(buf, "", &cps->pr, 0);
     }
 
     if (err != 0) {