Repository navigation
0.9.116
statechart now runs on Windows. It used to spawn /bin/sh to kill the TLC worker and clean up after it, which Windows Node cannot find, so the command crashed with spawn /bin/sh ENOENT once TLC finished. On Windows it now kills the worker's process tree with taskkill, and a small Node janitor, janitor.ts, takes over the /bin/sh janitor's cleanup. The worker's TEMP and TMP now point at the command's temp folder, as TMPDIR already did, because Node on Windows reads only those two. Before, TLC's working folder landed in %TEMP%, where cleanup after Ctrl-C did not reach it. TLC on Windows also ends each output line with \r\n, and the message reader kept the \r, so no message closed and a broken rule read as "its output names no rule that broke". The reader now drops a trailing \r. A windows-latest CI job charts the MediaPlayer corpus spec and diffs its report.md and chart.mmd against the Linux ones. @Adamya05 reported both failures with a patch (#345).