[Lldb-commits] [PATCH] Redirect stdin, stdout and stderr to /dev/null when launching LLGS process.
ovyalov at google.com
Mon Nov 3 17:40:28 PST 2014
I left close actions because I found such comment for posix_spawn_file_actions_addopen (http://linux.die.net/man/3/posix_spawn_file_actions_addopen):
"If fildes was already an open file descriptor, it shall be closed before the new file is opened." - my understanding that open without prior close in such situation may lead to handle leakage.
More information about the lldb-commits