Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

std/node/child_process.ts>spawn

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
function spawn
import { spawn } from "https://deno.land/std@0.145.0/node/child_process.ts";

Parameters

command: string
options: SpawnOptions

Parameters

command: string
args: string[]

Parameters

command: string
args: string[]
options: SpawnOptions

Spawns a child process using command.

Parameters

command: string
optional
argsOrOptions: string[] | SpawnOptions
optional
maybeOptions: SpawnOptions