/
lostSun
/
project-client-server-apps
Обзор
Документация
Войти
/
lostSun
/
project-client-server-apps
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
project-client-server-apps
/
node_modules
/
execa
/
..
lib
initial commit
год назад
index.d.ts
initial commit
год назад
index.js
initial commit
год назад
license
initial commit
год назад
package.json
initial commit
год назад
readme.md
initial commit
год назад
Why
Install
Usage
Pipe the child process stdout to the parent
Handling Errors
Cancelling a spawned process
Catching an error with the sync method
Kill a process
API
execa(file, arguments, options?)
kill(signal?, options?)
options.forceKillAfterTimeout
cancel()
all
execa.sync(file, arguments?, options?)
execa.command(command, options?)
execa.commandSync(command, options?)
execa.node(scriptPath, arguments?, options?)
childProcessResult
command
escapedCommand
exitCode
stdout
stderr
all
failed
timedOut
isCanceled
killed
signal
signalDescription
message
shortMessage
originalMessage
options
cleanup
preferLocal
localDir
execPath
buffer
input
stdin
stdout
stderr
all
reject
stripFinalNewline
extendEnv
cwd
env
argv0
stdio
serialization
detached
uid
gid
shell
encoding
timeout
maxBuffer
killSignal
windowsVerbatimArguments
windowsHide
nodePath (For `.node()` only)
nodeOptions (For `.node()` only)
Tips
Retry on error
Save and pipe output from a child process
Redirect output to a file
Redirect input from a file
Execute the current package's binary
Related
Maintainers
readme.md