ht
ht copied to clipboard
Sending signals to foreground process
Does ht support sending a signal to current (foreground) process? How to send SIGINT or SIGKILL?
My Unix knowledge is rusty, but I think ht doesn't need to know what the foreground process is. If you send a signal to pty, AFAIK the kernel will somehow forward it to the foreground process in the process group.
In #18 / #21 we'll expose PID of the forked process so you'll be able to send it arbitrary signal. We already have the PID at hand, that's the simplest way I believe.