2 ms·
Can you modify this to listen to a signal (e.g. SIGUSR) instead, for triggering the REPL?
by heinrichhartman 2y ago
Can you modify this to listen to a signal (e.g. SIGUSR) instead, for triggering the REPL?
- heinrichhartman 2y agoOK. RTFM. You already did! Wonderful.
- bkallus 2y agoI went with SIGINT because it's more fun to press ctrl-c than to pgrep and kill. If you'd rather use SIGUSR1, just change SIGINT to SIGUSR1 line 654.