Replace /dev/stdin for "0" file descriptor