Skip to content

Instantly share code, notes, and snippets.

@luvies
Last active October 3, 2017 11:27
Show Gist options
  • Save luvies/7bca172196027cb00cfebd5238d44e9e to your computer and use it in GitHub Desktop.
Save luvies/7bca172196027cb00cfebd5238d44e9e to your computer and use it in GitHub Desktop.
Allows for a daemon to have a separate client command to control it. The DaemonClient simply passes all arguments to the DaemonServer in place (excluding the first executable argument) and while the server is processing the arguments, the client receives all the output & send all the input.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment