Skip to content

SCP002/terminator

Repository files navigation

terminator

Library to stop processes gracefully, even on Windows.

Capabilities

On Windows it can:

  • Send Ctrl + C to console applications
  • Send Ctrl + Break to console applications
  • Close graphical applications as if it's window was closed
  • Send messages to standard input of console applications to answer the questions such as "Y/N?"

On Linux / Mac it can:

  • Send signals (SIGINT, SIGKILL etc.) to terminal applications
  • Send messages to standard input of terminal applications to answer the questions such as "Y/N?"

Usage

See examples folder and info on go packages.