cocoa-process
v0.2.0
Published
Package that allows to wrap some logic to either execute or spawn commands.
Downloads
1
Readme
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)