Searched refs:null_fd (Results 1 – 2 of 2) sorted by relevance
104 null_fd = open("/dev/null", "w")106 task = subprocess.Popen(cmd, stdout=null_fd)
375 base::ScopedFD null_fd(HANDLE_EINTR(open("/dev/null", O_RDONLY))); in LaunchProcess() local376 if (!null_fd.is_valid()) { in LaunchProcess()381 int new_fd = HANDLE_EINTR(dup2(null_fd.get(), STDIN_FILENO)); in LaunchProcess()