@@ -, +, @@ --- bin/helper-functions.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- a/bin/helper-functions.sh +++ a/bin/helper-functions.sh @@ -21,11 +21,12 @@ __multijob_init() { # Setup a pipe for children to write their pids to when they finish. # We have to allocate two fd's because POSIX has undefined behavior # when you open a FIFO for simultaneous read/write. #487056 + # And Cygwin supports just one read/write fd at once. #583962 local pipe=$(mktemp -t multijob.XXXXXX) rm -f "${pipe}" mkfifo -m 600 "${pipe}" - __redirect_alloc_fd mj_write_fd "${pipe}" __redirect_alloc_fd mj_read_fd "${pipe}" + __redirect_alloc_fd mj_write_fd "${pipe}" '>' rm -f "${pipe}" # See how many children we can fork based on the user's settings. --