andyk / ht

headless terminal - wrap any binary with a terminal interface for easy programmatic access.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sending signals to foreground process

pzmarzly opened this issue · comments

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.