Closed demurgos closed 5 years ago
The CI failure seems to be an Appveyor issue (issue in their npm
package). Fixed in https://github.com/tapjs/foreground-child/pull/24.
Closing for now. There's no sens to add an unused function. I'll submit it with the corresponding code actually using it.
Why
foregroundChild
is currently hard-coded to only support forwarding with the root process. To support a generalproxy
function between any two objects behaving like processes, we can begin by refactoring the internals to be more parametrized.What
Add a function to start forwarding standard IO. This function is unused at the moment because
foregroundChild
defaults to using thestdio: "inherit"
spawn
option, causing the std streams to benull
on the child process.