A simple binary that wraps any executable and runs it in a Windows Job Object to ensure it (and all its children) are terminated when the parent process dies.
cargo install w32die
w32die [OPTIONS] -- <command> [ARGS]
$ w32die -- echo "Hello, World!"