Open ndrewh opened 4 months ago
Currently, we use dup to get another file descriptor referring to stdin/stdout/stderr. We should probably hard-code a unlikely-to-be-used fd and call dup2 instead.
dup
dup2
Currently, we use
dup
to get another file descriptor referring to stdin/stdout/stderr. We should probably hard-code a unlikely-to-be-used fd and calldup2
instead.