wonder-stuff
    Preparing search index...

    Variable execAsyncConst

    execAsync: {
        (command: string): PromiseWithChild<{ stderr: string; stdout: string }>;
        (
            command: string,
            options: { encoding: "buffer" | null } & ExecOptions,
        ): PromiseWithChild<{ stderr: Buffer; stdout: Buffer }>;
        (
            command: string,
            options: { encoding: BufferEncoding } & ExecOptions,
        ): PromiseWithChild<{ stderr: string; stdout: string }>;
        (
            command: string,
            options: ExecOptions,
        ): PromiseWithChild<{ stderr: string; stdout: string }>;
        (
            command: string,
            options?: ObjectEncodingOptions & ExecOptions | null,
        ): PromiseWithChild<
            {
                stderr: string
                | Buffer<ArrayBufferLike>;
                stdout: string | Buffer<ArrayBufferLike>;
            },
        >;
    } = ...

    A simple promisified version of child_process.exec, so we can await it

    Type Declaration

      • (command: string): PromiseWithChild<{ stderr: string; stdout: string }>
      • Parameters

        • command: string

        Returns PromiseWithChild<{ stderr: string; stdout: string }>

      • (
            command: string,
            options: { encoding: "buffer" | null } & ExecOptions,
        ): PromiseWithChild<{ stderr: Buffer; stdout: Buffer }>
      • Parameters

        • command: string
        • options: { encoding: "buffer" | null } & ExecOptions

        Returns PromiseWithChild<{ stderr: Buffer; stdout: Buffer }>

      • (
            command: string,
            options: { encoding: BufferEncoding } & ExecOptions,
        ): PromiseWithChild<{ stderr: string; stdout: string }>
      • Parameters

        • command: string
        • options: { encoding: BufferEncoding } & ExecOptions

        Returns PromiseWithChild<{ stderr: string; stdout: string }>

      • (
            command: string,
            options: ExecOptions,
        ): PromiseWithChild<{ stderr: string; stdout: string }>
      • Parameters

        • command: string
        • options: ExecOptions

        Returns PromiseWithChild<{ stderr: string; stdout: string }>

      • (
            command: string,
            options?: ObjectEncodingOptions & ExecOptions | null,
        ): PromiseWithChild<
            {
                stderr: string
                | Buffer<ArrayBufferLike>;
                stdout: string | Buffer<ArrayBufferLike>;
            },
        >
      • Parameters

        • command: string
        • Optionaloptions: ObjectEncodingOptions & ExecOptions | null

        Returns PromiseWithChild<
            {
                stderr: string
                | Buffer<ArrayBufferLike>;
                stdout: string | Buffer<ArrayBufferLike>;
            },
        >