process: Handle interrupted system calls.
process: Block SIGWINCH in child process.
Run child processes with SIGWINCH blocked.

Replace popen() calls by posix_spawn() calls which block SIGWINCH,
so that the child process is not killed if the terminal is resized at
the time.
popen: Delete unused module.