File SystemProcess
Listen for CTRL+C
The ctrl+c shortcut sends an interrupt signal to the running process. Intercept it by listening for the SIGINT event. To close the process, you must explicitly
Parse command-line arguments
The argument vector is the list of arguments passed to the program when it is run. It is available as Bun.argv .
Spawn a child process and communicate using IPC
Use Bun.spawn() to spawn a child process. When spawning a second bun process, you can open a direct inter-process communication (IPC) channel between the two