import { ChildProcess } from "node:child_process";
The subprocess.connected property indicates whether it is still possible to
send and receive messages from a child process. When subprocess.connected is false, it is no longer possible to send or receive messages.