X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:date:from:to:subject:message-id:reply-to
	:references:mime-version:content-type:in-reply-to; q=dns; s=
	default; b=FaRZQw6eWmhFSSyyt4b6z4tDezIK+HcScELrb3hxJYu9VCNi56iCn
	1D56DcxBU3OR0rHK0tA88lWXSZ5xBNa4hnY68am6ijRxHtY7zS6HKXmVtz8c0WXP
	QMtvX69gRXc4/PawijsmVjrgRCLZ3VTQHu2ih9fdcp9ATQxCs25dt8=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:date:from:to:subject:message-id:reply-to
	:references:mime-version:content-type:in-reply-to; s=default;
	 bh=vQhVx0Ow3+ZQrapAF2YXroK7EAI=; b=awNc+zQP4WqdYDYd1CjqgeE8Z9FG
	PkWi4ME0w+6wgKsMAxG1E/jEAlpe6vmecxKg5LxW3oSBsvq6Hd6IEGpb4B7uc+eD
	9s5A8+Ta7LeNwRLkPreTGxDhv4BATbiFDvsXMNM9KDDtZGOJqfZSjMt8OI9gOs/r
	4DzmIdd7V80OQXU=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-6.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2
X-HELO: mho-01-ewr.mailhop.org
X-Mail-Handler: Dyn Standard SMTP by Dyn
X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information)
X-MHO-User: U2FsdGVkX18VLsZ+oLkNIhbiFbtviLzv
Date: Wed, 28 May 2014 12:07:17 -0400
From: Christopher Faylor <cgf-use-the-mailinglist-please@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: Bash silently truncates the Command Line when called programatically via CreateProcess as MAXPATHLEN was reduced to 8192 from 16384
Message-ID: <20140528160717.GB3685@ednor.casa.cgf.cx>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <148f67d907d379af19ab91c030b65403.squirrel@webmail.xs4all.nl>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <148f67d907d379af19ab91c030b65403.squirrel@webmail.xs4all.nl>
User-Agent: Mutt/1.5.20 (2009-06-14)

On Wed, May 28, 2014 at 05:41:19PM +0200, Houder wrote:
>As far as I can tell, it is not bash, but the Cygwin supervisor, that
>does the truncation.

The code in Cygwin has already been repeatedly identified.

Possibly setting the CYGWIN environment variable to "noglob" might
cause things to work as desired.

See: https://cygwin.com/cygwin-ug-net/using-cygwinenv.html

Also remember that this environment variable has to be set before any
Cygwin program is run, i.e., from the CMD prompt or by setting the
environment variable globally via, e.g.,

Control Panel->System->Advanced system settings->Environment Variables

cgf

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

