don't duplicate parent_error

This commit is contained in:
Daniel Kochmański 2017-02-21 08:59:05 +01:00
parent 5e2679e5fc
commit 488797c910

View file

@ -451,9 +451,9 @@ si_spawn_subprocess(cl_object command, cl_object argv, cl_object environ,
&child_stderr, 0, TRUE,
DUPLICATE_SAME_ACCESS);
/* Same for the parent_read and parent_error. */
DuplicateHandle(current, parent_read, current,
&parent_error, 0, TRUE,
DUPLICATE_SAME_ACCESS);
/* DuplicateHandle(current, parent_read, current, */
/* &parent_error, 0, TRUE, */
/* DUPLICATE_SAME_ACCESS); */
}
else
create_descriptor(error, @':output', &child_stderr, &parent_error);