Searched refs:new_stdout (Results 1 – 1 of 1) sorted by relevance
203 int new_stdout = 1; in run_command_array() local220 new_stdout = open (argv[i + 1], O_WRONLY|O_CREAT|O_TRUNC, 0777); in run_command_array()226 new_stdout = open (argv[i + 1], O_WRONLY|O_CREAT|O_APPEND, 0777); in run_command_array()261 if (new_stdout != 1) in run_command_array()263 dup2 (new_stdout, 1); in run_command_array()264 close (new_stdout); in run_command_array()
Completed in 4 milliseconds