/// import { ChildProcess } from "child_process"; import { CancellationToken } from "./cancellation-token"; export interface IChildProcessContext { type: "spawn" | "exec" | "fork"; command?: string; args?: string[]; script?: string; env?: { [prop: string]: any; }; slient?: boolean; ignoreArgs?: boolean; token?: CancellationToken; defineCancel?: (child: ChildProcess, token: CancellationToken) => void; } export declare function startChildProcess({ command, script, args, env, slient, type, ignoreArgs, token, defineCancel }: IChildProcessContext): Promise;