I’m not able to
kill a Julia process on Windows. Instead, its status remains as
ProcessSignaled, and it never terminates. The issue doesn’t exist on MacOS and Linux, and it occurs regardless of Julia version. I didn’t experience this issue last month, and I’m beginning to suspect that this is related to a recent Windows 10 update. Still, I thought I would reach out to the community, in case I am doing something silly (besides shelling out in the first place!).
# This command runs silently and terminates on its own command = "sleep(5)" # This command prints to the REPL and must be signaled #command = "while true; print(\"-\"); sleep(1); end" process = run(pipeline(`julia -e $command`, stdout), wait=false); # Important: On Windows, this may create a process that doesn't terminate! kill(process)