lightvector / KataGo

GTP engine and self-play learning in Go
https://katagotraining.org/
Other
3.56k stars 564 forks source link

Can't open watchgame.txt in Windows due to "file is being used by another process" error. #435

Open cheeseonhead opened 3 years ago

cheeseonhead commented 3 years ago

I can't open the watchgame.txt file while katago is running. Either using PowerShell's "Get-Content .\watchgame.txt -Tail 50 -Wait" function or trying to open the file in an text viewer.

This is the full error in PowerShell:

Get-Content : The process cannot access the file 'C:\Users\Cheeseonhead\workspace\Katago-dist\watchgame.txt' because it is being used by another process. At line:1 char:1

l1t1 commented 3 years ago

ctrl c ctrl v to another file

cheeseonhead commented 3 years ago

How do I do that when I can't open the file at all?