UNPKG

@theia/core

Version:

Theia is a cloud & desktop IDE framework implemented in TypeScript.

18 lines • 1.03 kB
/** * Script for tests: creates a `BackendApplication`, which installs its process handlers, starts a * child process, prints the PID of the child and exits with code {@link EXITING_BACKEND_EXIT_CODE}. * The `exit` handler of the `BackendApplication` then terminates the process tree. * Set {@link EXITING_BACKEND_NO_POWERSHELL} to make the listing of the children of the process fail. * Set {@link EXITING_BACKEND_GRACEFUL} to shut down as on `SIGTERM` instead, which exits with code 1. */ import 'reflect-metadata'; export declare const EXITING_BACKEND_EXIT_CODE = 3; /** * Environment variable that makes PowerShell unrunnable for the {@link ProcessUtils} of the script. */ export declare const EXITING_BACKEND_NO_POWERSHELL = "THEIA_TEST_EXITING_BACKEND_NO_POWERSHELL"; /** * Environment variable that makes the script shut down gracefully, as on `SIGTERM`, rather than exit abruptly. */ export declare const EXITING_BACKEND_GRACEFUL = "THEIA_TEST_EXITING_BACKEND_GRACEFUL"; //# sourceMappingURL=exiting-backend.d.ts.map