Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Fri, 6 May 2005 19:45:29 -0400
From: Christopher Faylor <cgf-no-personal-reply-please@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: Solution, possible FAQ entry: make problem: execvp: /bin/sh: Illegal Argument
Message-ID: <20050506234529.GN29240@trixie.casa.cgf.cx>
Reply-To: cygwin@cygwin.com
References: <427BE5FE.7020000@fabeljet.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <427BE5FE.7020000@fabeljet.com>
User-Agent: Mutt/1.5.8i

On Fri, May 06, 2005 at 11:47:42PM +0200, J?rgen Havsberg Seland wrote:
>[This posting is to provide future searchers with a direct hit.]
>
>This problem is (often) due to the command-line being to long for the 
>windows execution model. To circumvent this, mount the path of the 
>executable using the -X switch. For instance, use
>
>mount -f -X c:/cygwin/bin /bin
>
>to enable "cygexec" for all executables in that folder. This will cause 
>cygwin to "talk directly" to another cygwin executable, and the limit 
>disappears (or at least moves).
>
>(You can also disable it for individual files with the -x option. See 
>the mount man page for more information.)

i.e., you have to specifically disable it for strace.exe and cygcheck.exe
since they are not cygwin-executables.

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

