[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Gmake.exe error: process_easy: DuplicateHandle(In) failed (e=6)
From: |
Eli Zaretskii |
Subject: |
Re: Gmake.exe error: process_easy: DuplicateHandle(In) failed (e=6) |
Date: |
Fri, 02 Dec 2005 13:39:09 +0200 |
> From: "Tom Kronmiller" <address@hidden>
> Date: Thu, 1 Dec 2005 16:29:44 -0500
> Cc:
>
> A while ago I was having this exact symptom in a similar context: on windows,
> running gmake through a perl-based wrapper script.
> Ultimately it turned out (and I have no idea why) that when the perl script
> included a back-tick command
> $x = `some command`;
> ....
> system("gmake ....");
> then the problem would manifest, but not if the backtick was disabled by
> something like
> system("some command > tmpfile");
> open(file "< tmpfile"); read, ... into $x;
> ...
> system("gmake ....");
It sounds like something is wrong with redirecting a standard handle,
but I need help to understand the details: what handle is the
offending one and why. Can you try debugging this?
Re: Gmake.exe error: process_easy: DuplicateHandle(In) failed (e=6), Eli Zaretskii, 2005/12/02