Skip to content
asmichi edited this page Feb 14, 2021 · 9 revisions

Welcome to the ChildProcess wiki!

Goals

Provide cross-platform APIs for:

  • Creating a child process and interacting with it
  • Ensuring termination of child processes

Non-Goals

  • Obtaining statistics of a process
  • Creating a resident process
    • Such procedure is inherently platform-specific.
    • On Windows, closing a pseudo console terminates applications inside the pseudo console.
    • On *nix, a child process must employ so-called double fork technique to reside in an appropriate session.

1.0 Roadmap

  1. Utilities for handling essential environment variables
  2. Proper cleanup
  3. macOS support
  4. Finalize API
  5. 1.0

Post 1.0 candidates

  • Windows GUI Process Handling
  • Resource limit
  • Preferred NUMA node & Affinity
  • ProcessPriorityClas
  • Other fine tunes...

Open questions

  • Should the StdOutputHandle family just be a SafeHandle instead of a SafeFileHandle?
Clone this wiki locally