err-first application break STDOUT_FILENO after first write into STDERR_FILENO. use: err-first $command $params err-first g++ $params