Question: spawn/child_process options
rmcarias opened this issue · comments
Rolando Carias commented
Specifications
This is more of question (or feature request). How can I pass the supported options to the spawn method for example:
{
detached: true,
stdio: 'inherit',
shell: true,
}
Using this syntax?
```$`<some_shell_command>````
Also, it seems that when you do this:
let child = $`<some_shell_command>`
Because it returns a promise, we don't get access to other child process props and method, like
child.unref()
- Version: 6.0.7
- Platform: Mac OS