Mdisconnect
Bun

method

Subprocess.disconnect

disconnect(): void;

Disconnect the IPC channel to the subprocess. This is only supported if the subprocess was created with the ipc option.