[posila][0.16.0] Locked file after process termination via Win10 bash
Posted: Wed Dec 13, 2017 10:46 pm
I was setting up a server under Windows 10 bash. I am using ComEmu64 as my emulator.
The process was running with 0.16 and I saw a reddit update that 0.16.1. I tried to^C the server process to shut it down and it did not respond to the keyboard input. Instead I ^Z it to suspend the process and then issued a kill %1. The process terminated but I could not relaunch the process due to factorio-current.log being locked by process Factorio.
The naive task manager showed no Factorio processes running. The sysinternals Process Explorer found the factorio.exe. Once I nuked it from orbit, the lock on the file was released.
The bugs seem to be not handling neither ^C nor SIGTERM properly from the Linux-side of Win10.
The process was running with 0.16 and I saw a reddit update that 0.16.1. I tried to^C the server process to shut it down and it did not respond to the keyboard input. Instead I ^Z it to suspend the process and then issued a kill %1. The process terminated but I could not relaunch the process due to factorio-current.log being locked by process Factorio.
The naive task manager showed no Factorio processes running. The sysinternals Process Explorer found the factorio.exe. Once I nuked it from orbit, the lock on the file was released.
The bugs seem to be not handling neither ^C nor SIGTERM properly from the Linux-side of Win10.