Expand description

Shared module for internal logic! Contains helper to spawn shell commands and examine and interact with processes. Subprocess handling is platform specific code.

The submodules of this module represent the different implementations for each supported platform. Depending on the target, the respective platform is read and loaded into this scope.

Enums§

  • Pueue directly interacts with processes. Since these interactions can vary depending on the current platform, this enum is introduced. The intend is to keep any platform specific code out of the top level code. Even if that implicates adding some layers of abstraction.

Functions§

  • Take a platform specific shell command and insert the actual task command via templating.
  • This is a helper function to safely kill a child process group. Its purpose is to properly kill all processes and prevent any dangling processes.
  • Check, whether a specific process is exists or not
  • Send a signal to one of Pueue’s child process group handle.