-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathTODO
More file actions
16 lines (12 loc) · 677 Bytes
/
Copy pathTODO
File metadata and controls
16 lines (12 loc) · 677 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
* move stdout/stderr fds to pipe_writer
* unify process::read between Linux and Windows; use non-blocking
polling in both places and handle Ctrl+C
* make Ctrl+C abandon read/write to/from a process
* prevent Ctrl+C from being passed to the child process
* implement a high-level popen() call/factor function with parameters:
stdin, stdout, stderr; enable string-based input, output to /dev/null
(Linux) or nul (Windows); redirecting stderr to stdout
* make partial UTF8 handling optional in process_read(); maybe someone
is reading bytes and not textual output?
* handle differing new-line characters
* see how tools::pskill can be used our own process_send_signal