Is there a way to know if a command line tool is going to be terminated i.e when a user hits CTRL-C
Similar question to Terminate subprocesses of macOS command line tool in Swift - This hasn't been answered
Is there a way to know if a command line tool is going to be terminated i.e when a user hits CTRL-C
Similar question to Terminate subprocesses of macOS command line tool in Swift - This hasn't been answered