commit | 86a058029beb8c5516eed4293de2a8b9131f3438 | [log] [tgz] |
---|---|---|
author | Eli Zaretskii <eliz@gnu.org> | Wed Oct 01 18:26:28 2014 +0300 |
committer | Eli Zaretskii <eliz@gnu.org> | Wed Oct 01 18:26:28 2014 +0300 |
tree | f4ff15f06cdbb0eb4439b863b07f0eced1444cae | |
parent | 0a3a0756b987e2f7f06322de746c3da5fef4c9ed [diff] |
Treat redirection of standard handles on Windows as it is done on Unix. * job.c (start_job_command) [WINDOWS32]: Compute outfd and errfd as on Posix platforms, and pass the results to process_easy. * function.c (windows32_openpipe) [WINDOWS32]: Accept an additional argument ERRFD and use it for redirecting the standard error handle passed to the subprocess. (func_shell_base) [WINDOWS32]: Pass the computed errfd to windows32_openpipe.