Files
WSL/doc/docs/api-reference/cpp/enumerations/processstate.md
Blue 901cb9c134 Run the documentation pipeline when doc/ is edited + various rendering fixes (#40931)
* Run the documentation pipeline when doc/ is edited + various rendering fixes

* Fix inverted condition
2026-06-28 06:43:01 -07:00

247 B

ProcessState

Process::State() casts directly from WslcProcessState.

Underlying C values:

  • Unknown = 0
  • Running = 1
  • Exited = 2
  • Signalled = 3
if (process.State() == static_cast<ProcessState>(1))
{
    // running
}