pipe output to current process stdout.

await spawn('sam', '--help')

capture output

const stdout = String(await spawn('git', ['rev-parse', 'HEAD'], { shell: true }))

Index

Type Aliases

Functions