0.2.0 • Published 2 years ago
cocoa-process v0.2.0
cocoa-process
Package that allows to wrap some logic to either execute or spawn commands.
The command allows to return the value from the command stdout.
const process = new ChildProcess('Command', ['args'], 'ProcessName')
await process.command()While process allows to execute a process and logs its output. It allows also to keep a service alive with the parameter
const process = new ChildProcess('Command', ['args'], 'ProcessName')
const keepAlive = true
await process.service(keepAlive)