Searched refs:redir (Results 1 – 2 of 2) sorted by relevance
61 proc gas_host_run { cmd redir } { argument62 verbose "Executing $cmd $redir"64 if [regexp ">& */dev/null" $redir] then {66 set command "$cmd $redir"67 } elseif [regexp "> */dev/null" $redir] then {71 } elseif [regexp ">&.*" $redir] then {73 regsub ">&" $redir "" output_file75 } elseif [regexp "2>.*" $redir] then {77 set command "$cmd $redir"79 } elseif [regexp ">.*" $redir] then {[all …]
197 run_cmd (char *cmd, const char *redir) in run_cmd() argument254 redir_handle = open (redir, O_WRONLY | O_TRUNC | O_CREAT, 0666); in run_cmd()256 fatal (_("can't open temporary file `%s': %s"), redir, in run_cmd()262 fatal (_("can't redirect stdout: `%s': %s"), redir, strerror (errno)); in run_cmd()