env-cmd/dist/signal-termination.d.ts
Todd Bluhm bbc4b78ad2
Convert over to using ts-standard
- Removed all the various eslint dependencies and added ts-standard
- Updated Readme file with some minor changes
- Updated dist folder to have one level again
2019-08-29 23:39:32 -05:00

24 lines
655 B
TypeScript

/// <reference types="node" />
import { ChildProcess } from 'child_process';
export declare class TermSignals {
private readonly terminateSpawnedProcessFuncHandlers;
_exitCalled: boolean;
handleTermSignals(proc: ChildProcess): void;
/**
* Enables catching of unhandled exceptions
*/
handleUncaughtExceptions(): void;
/**
* Terminate parent process helper
*/
_terminateProcess(code?: number, signal?: string): void;
/**
* Exit event listener clean up helper
*/
_removeProcessListeners(): void;
/**
* General exception handler
*/
_uncaughtExceptionHandler(e: Error): void;
}