fynjs API
    Preparing search index...

    Interface ExecResult

    thenable returned by exec when no callback is given

    interface ExecResult {
        catch: <R = never>(
            onReject?: (err: ExecError) => R | PromiseLike<R>,
        ) => Promise<ExecOutput | R>;
        child: ChildProcess;
        promise: Promise<ExecOutput>;
        stderr: Readable;
        stdout: Readable;
        then: <T = ExecOutput, R = never>(
            onFulfill?: (output: ExecOutput) => T | PromiseLike<T>,
            onReject?: (err: ExecError) => R | PromiseLike<R>,
        ) => Promise<T | R>;
    }
    Index
    catch: <R = never>(
        onReject?: (err: ExecError) => R | PromiseLike<R>,
    ) => Promise<ExecOutput | R>
    child: ChildProcess
    promise: Promise<ExecOutput>
    stderr: Readable
    stdout: Readable
    then: <T = ExecOutput, R = never>(
        onFulfill?: (output: ExecOutput) => T | PromiseLike<T>,
        onReject?: (err: ExecError) => R | PromiseLike<R>,
    ) => Promise<T | R>