google / zx

A tool for writing better scripts

Home Page:

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Question: spawn/child_process options

rmcarias opened this issue · comments


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?

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

  • Version: 6.0.7
  • Platform: Mac OS
ezoic increase your site revenue