Searched refs:redir_handle (Results 1 – 1 of 1) sorted by relevance
207 int redir_handle = -1; in run_cmd() local254 redir_handle = open (redir, O_WRONLY | O_TRUNC | O_CREAT, 0666); in run_cmd()255 if (redir_handle == -1) in run_cmd()265 dup2 (redir_handle, STDOUT_FILENO); in run_cmd()274 close (redir_handle); in run_cmd()