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

Cliff Hones cliff@hones.org.uk
Sat May 31 17:55:00 GMT 2014


On 31/05/2014 14:28, Abhijit Bhattacharjee wrote:
> ...
> Qs/Stmt: Possibly setting the CYGWIN environment variable to "noglob"
> might cause things to work as desired.
> Ans: I am yet to test this, but I trust your answer. I am yet to
> figure out as to how I can set the environment variables CYGWIN with
> multiple values i.e. I need to set it with nodosfilewarning and
> noglob. I was trying to read though your code environ.cc and seems to
> me I can simply separate it with a delimiter. Your documentation is
> silent about it. If you know it off hand, please let me know, that
> will reduce some effort for me to read and debug though your code :-)

Hmm - you didn't look very hard.  Why not read the Cygwin User manual - in
particular this section:

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

where it clearly says the items are space-separated.

-- Cliff


--
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



More information about the Cygwin mailing list