tarlatan
    Preparing search index...
    • Runs command with args (no shell), blocks until it ends, and returns its output decoded as UTF-8. status is the exit code, or null when a signal ended the child; signal names that signal, or is null when the child exited. error is set when the child could not be started (for example ENOENT); a test that reads the output checks it first.

      Parameters

      • command: string
      • args: readonly string[]
      • options: { encoding: "utf8" }

      Returns {
          error?: Error;
          signal: string | null;
          status: number | null;
          stderr: string;
          stdout: string;
      }