Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Reply-To: Cygwin List Message-Id: <6.2.1.2.0.20050506184325.03cbc930@pop.prospeed.net> Date: Fri, 06 May 2005 18:46:49 -0400 To: =?iso-8859-1?Q?J=F8rgen?= Havsberg Seland , cygwin AT cygwin DOT com From: Larry Hall Subject: Re: Solution, possible FAQ entry: make problem: execvp: /bin/sh: Illegal Argument In-Reply-To: <427BE5FE.7020000@fabeljet.com> References: <427BE5FE DOT 7020000 AT fabeljet DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" At 05:47 PM 5/6/2005, you 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.) Actually, better to just look at Chris' message: The mount commands he lists are the ones that will make everything just work. Unless you know what you're doing, I'd recommend that everyone who needs/wants this functionality to set up the mounts as Chris describes. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 838 Washington Street (508) 893-9889 - FAX Holliston, MA 01746 -- 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/