Program does not stop when windows terminal is closed. #16492

Closed
opened 2026-01-31 05:13:44 +00:00 by claunia · 5 comments
Owner

Originally created by @kotenok2000 on GitHub (Jan 24, 2022).

Windows Terminal version

1.11.3471.0

Windows build number

10.0.22000.434

Other Software

Lela chess zero chess engine
https://github.com/LeelaChessZero/lc0/releases/tag/v0.28.2

Steps to reproduce

Use this guide
https://github.com/LeelaChessZero/lc0/wiki/Getting-Started
start lc0-training client

Close windows terminal after lc0.exe has started.

Expected Behavior

Lc0-training-client exits, just like with windows console host.

Actual Behavior

lc0-training-client.exe continues to run.

Originally created by @kotenok2000 on GitHub (Jan 24, 2022). ### Windows Terminal version 1.11.3471.0 ### Windows build number 10.0.22000.434 ### Other Software Lela chess zero chess engine https://github.com/LeelaChessZero/lc0/releases/tag/v0.28.2 ### Steps to reproduce Use this guide https://github.com/LeelaChessZero/lc0/wiki/Getting-Started start lc0-training client Close windows terminal after lc0.exe has started. ### Expected Behavior Lc0-training-client exits, just like with windows console host. ### Actual Behavior lc0-training-client.exe continues to run.
claunia added the Resolution-Duplicate label 2026-01-31 05:13:44 +00:00
Author
Owner

@237dmitry commented on GitHub (Jan 24, 2022):

start lc0-training client

This starts process in its own window. Try start /b lc0-training-client.exe or just lc0-training-client.exe

@237dmitry commented on GitHub (Jan 24, 2022): > start lc0-training client This starts process in its own window. Try `start /b lc0-training-client.exe` or just `lc0-training-client.exe`
Author
Owner

@kotenok2000 commented on GitHub (Jan 24, 2022):

It happens even when i open lc0-training client from windows explorer
i didn't use start command.
it happens when i use this bat script too
@echo off

ECHO lc0 training client launcher

ECHO 0) server choice

ECHO 1) run 1
ECHO 2) run 2

ECHO 3) run 3
echo choose 0-3
choice /c 0123 /n
if errorlevel 0 goto run0
if errorlevel 1 goto run1
if errorlevel 2 goto run2
if errorlevel 3 goto run3

:run0

lc0-training-client.exe -report-gpu -report-host -run 0
pause goto run0

:run1

lc0-training-client.exe -report-gpu -report-host -run 1
pause goto run1

:run2

lc0-training-client.exe -report-gpu -report-host -run 2
pause goto run2

:run3

lc0-training-client.exe -report-gpu -report-host -run 3
pause goto run3

@kotenok2000 commented on GitHub (Jan 24, 2022): It happens even when i open lc0-training client from windows explorer i didn't use start command. it happens when i use this bat script too @echo off ECHO lc0 training client launcher ECHO 0) server choice ECHO 1) run 1 ECHO 2) run 2 ECHO 3) run 3 echo choose 0-3 choice /c 0123 /n if errorlevel 0 goto run0 if errorlevel 1 goto run1 if errorlevel 2 goto run2 if errorlevel 3 goto run3 :run0 lc0-training-client.exe -report-gpu -report-host -run 0 pause goto run0 :run1 lc0-training-client.exe -report-gpu -report-host -run 1 pause goto run1 :run2 lc0-training-client.exe -report-gpu -report-host -run 2 pause goto run2 :run3 lc0-training-client.exe -report-gpu -report-host -run 3 pause goto run3
Author
Owner

@kotenok2000 commented on GitHub (Feb 7, 2022):

Can you fix it?

@kotenok2000 commented on GitHub (Feb 7, 2022): Can you fix it?
Author
Owner

@zadjii-msft commented on GitHub (Feb 7, 2022):

Probably. We just need some time to investigate. Good chance this is a duplicate of #4564, but we'll need to confirm once that gets fixed.

@zadjii-msft commented on GitHub (Feb 7, 2022): Probably. We just need some time to investigate. Good chance this is a duplicate of #4564, but we'll need to confirm once that gets fixed.
Author
Owner

@lhecker commented on GitHub (Dec 13, 2022):

Oh, #13586 seems like a duplicate of this one. Oh well, I'll close this issue in favor of #13586 then, since I've already responded there.

@lhecker commented on GitHub (Dec 13, 2022): Oh, #13586 seems like a duplicate of this one. Oh well, I'll close this issue in favor of #13586 then, since I've already responded there.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#16492