misson20000 / twili

Homebrew debug monitor for the Nintendo Switch.
GNU General Public License v3.0
184 stars 23 forks source link

stdio over twib #18

Closed misson20000 closed 6 years ago

misson20000 commented 6 years ago

Blocked on #17.

The CreateProcess command should return two read pipe objects (stdout, stderr) and a write pipe object (stdin) whose IDs will be sent in the response. The instance of twib that called CreateProcess should read the stdout/stderr pipes, forwarding bytes to its own stdout/stderr, and it should listen on stdin and send bytes from there to the Twili stdin pipe. This way, each process's stdio will be linked to the twib instance that started it.