< Summary - Envilder CLI

Information
Class: src/envilder/core/domain/ports/IProcessContext.ts
Assembly: Default
File(s): src/envilder/core/domain/ports/IProcessContext.ts
Tag: 561_41292037308
Line coverage
N/A
Covered lines: 0
Uncovered lines: 0
Coverable lines: 0
Total lines: 13
Line coverage: N/A
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

File(s)

src/envilder/core/domain/ports/IProcessContext.ts

#LineLine coverage
 1/**
 2 * Facts about the current Envilder process that exec mode needs to compose
 3 * and interpret a child process, kept behind a port so the application layer
 4 * does not read runtime globals.
 5 */
 6export interface IProcessContext {
 7  /** Environment inherited by the child. */
 8  environment(): Readonly<Record<string, string | undefined>>;
 9  /** Operating system platform, for example `linux` or `win32`. */
 10  platform(): string;
 11  /** Number of a signal on this platform, used for `128 + n` exit codes. */
 12  signalNumber(signal: NodeJS.Signals): number;
 13}

Methods/Properties