Thread (129 messages) 129 messages, 7 authors, 2017-04-25

Re: [PATCH v3 06/10] run-command: don't die in child when duping /dev/null

From: Eric Wong <hidden>
Date: 2017-04-14 19:38:38

Brandon Williams [off-list ref] wrote:
+	if (cmd->no_stdin || cmd->no_stdout || cmd->no_stderr) {
+		null_fd = open("/dev/null", O_RDWR | O_CLOEXEC | O_NONBLOCK);
O_NONBLOCK?  This was in my original patch, too :x
Wow, I wonder what I was smoking that day...
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help