ShayBox / Mon2Cam

Workaround for multi-monitor Discord screensharing
MIT License
338 stars 33 forks source link

Adding error logging to exec #39

Closed botiapa closed 4 years ago

botiapa commented 4 years ago

We need to pipe the stderr as well when running commands. A possible solution would be to move reading from stdin and stderr into async functions, run them both, and then wait for both to exit (With promises?).

ShayBox commented 4 years ago

I agree, Promise.all might be what you're looking for

botiapa commented 4 years ago

I'll start working on this right away.

botiapa commented 4 years ago

Done in 87ec754