This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Bash silently truncates the Command Line when called programatically via CreateProcess as MAXPATHLEN was reduced to 8192 from 16384


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]