deathcap / nodeachrome

run Node.js scripts in Google Chrome (experimental)
MIT License
2 stars 0 forks source link

child_process API: stdio #21

Open deathcap opened 8 years ago

deathcap commented 8 years ago

Extend the child_process API https://github.com/deathcap/nodeachrome/issues/14 to connect the standard I/O streams:

https://nodejs.org/api/child_process.html#child_process_child_stderr https://nodejs.org/api/child_process.html#child_process_child_stdin https://nodejs.org/api/child_process.html#child_process_child_stdio https://nodejs.org/api/child_process.html#child_process_child_stdout

deathcap commented 8 years ago

Stdout stream redirection to ./host/cli.js is now in https://github.com/deathcap/nodeachrome/pull/30, should be able to build on it for inter-process stream redirection