Function exec

  • Execute a command within a shell, buffering any output.

    Returns

    child process

    Parameters

    • command: string

      command to run, with space-separated arguments

    • callback: ExecCallback

      callback function (err, stdout, stderr)

    Returns ChildProcess

  • Execute a command within a shell, buffering any output.

    Returns

    child process

    Parameters

    • command: string

      command to run, with space-separated arguments

    • options: ExecSyncOptions

      options {cwd, env, ...}

    • callback: ExecCallback

      callback function (err, stdout, stderr)

    Returns ChildProcess

  • Execute a command within a shell, buffering any output.

    Returns

    output {stdout, stderr}

    Parameters

    • command: string

      command to run, with space-separated arguments

    • Optional options: ExecSyncOptions

      options {cwd, env, ...}

    Returns PromiseWithChild<ExecAsyncReturns>

Generated using TypeDoc