From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14805 invoked by alias); 28 May 2014 16:07:22 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 14795 invoked by uid 89); 28 May 2014 16:07:21 -0000 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 Received: from mho-03-ewr.mailhop.org (HELO mho-01-ewr.mailhop.org) (204.13.248.66) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Wed, 28 May 2014 16:07:20 +0000 Received: from pool-98-110-183-166.bstnma.fios.verizon.net ([98.110.183.166] helo=cgf.cx) by mho-01-ewr.mailhop.org with esmtpa (Exim 4.72) (envelope-from ) id 1WpgNq-0005RJ-Kb for cygwin@cygwin.com; Wed, 28 May 2014 16:07:18 +0000 Received: from ednor (ednor.casa.cgf.cx [192.168.187.5]) by cgf.cx (Postfix) with SMTP id 343F0600E3 for ; Wed, 28 May 2014 12:07:17 -0400 (EDT) Received: by ednor (sSMTP sendmail emulation); Wed, 28 May 2014 12:07:17 -0400 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 17:59:00 -0000 From: Christopher Faylor 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) X-SW-Source: 2014-05/txt/msg00493.txt.bz2 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