delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT 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=eWOsz8s/mLQtYvf7e97n8QJmIKNI1hhDu3Esf4jPe+wf9UGYMld9P | |
GI+kVJA2nRVfRsMCPA1yOJVGEz5Tczl+CEbNhbMOcYMx8UCufBpWtwq6bXMKRjHg | |
wmSYhCfsZxdwGFMjeCUBpDiaEuIxHdhDCAtqBRvOY9uBX+nYiNs2eU= | |
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=9ZJndm84WGNrpbd4wHZ46c6xwSU=; b=rLJhUEMzgCBIzMBoes5ZBgiOqYiO | |
e41CbLfrVcgsKj5PiBWsxhOOtaUECxFY944Oes9iR5yfZommHWhzlsCyoPgVT0Tr | |
VTeWAxIJFDkf6uETGSA4v4Y/zvgVMrToXo1C4QwD0NBeF+e/lxMAALRpJYr4ir6y | |
rjovpulFomQAnYc= | |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT 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-02-ewr.mailhop.org |
X-Mail-Handler: | Dyn Standard SMTP by Dyn |
X-Report-Abuse-To: | abuse AT dyndns DOT com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information) |
X-MHO-User: | U2FsdGVkX18Pf02WjIsK3vofNB7sAQsk |
Date: | Sat, 31 May 2014 15:13:09 -0400 |
From: | Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Bash silently truncates the Command Line when called programatically via CreateProcess as MAXPATHLEN was reduced to 8192 from 16384 |
Message-ID: | <20140531191309.GA1156@ednor.casa.cgf.cx> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <CANMjiJqz6uJ7pp=iS5FK_ZnS9nxCT1fY+EndcgzPan7sv2pXJA AT mail DOT gmail DOT com> <20140526200857 DOT GA3903 AT ednor DOT casa DOT cgf DOT cx> <lm08n5$tgp$1 AT ger DOT gmane DOT org> <20140526212219 DOT GA4754 AT ednor DOT casa DOT cgf DOT cx> <CANMjiJpDU-aVxg1X8G_Lk8pKLEmXbs24+ieD=w3f8ZmQ2jdjTw AT mail DOT gmail DOT com> <CANMjiJqkm1pD5zuKWc_aRw8h9mzfdpwSkk6u6ybLmgHKGEd0PQ AT mail DOT gmail DOT com> <5385A486 DOT 4090900 AT tiscali DOT co DOT uk> <538623E9 DOT 8000507 AT etr-usa DOT com> <CANMjiJrfVEXcYNse83KysLpBjYyo9PvmmrhgVhZ0pRQ1poo=jg AT mail DOT gmail DOT com> |
MIME-Version: | 1.0 |
In-Reply-To: | <CANMjiJrfVEXcYNse83KysLpBjYyo9PvmmrhgVhZ0pRQ1poo=jg@mail.gmail.com> |
User-Agent: | Mutt/1.5.20 (2009-06-14) |
On Sat, May 31, 2014 at 06:58:59PM +0530, Abhijit Bhattacharjee wrote: >Thank you everyone for your time and reply. I believe from your reply >I am able to get the problem sorted out. I would also try to reply to >each of your queries > >@Christopher Faylor >Qs/Stmt: A Cygwin program which calls another Cygwin program does not >have this problem so it isn't completely immaterial. >Ans: I am not sure what you mean by Cygwin program. If you mean those >that are in your repository, I cannot comment. Instead, if you mean, >that's linked with cygwin1.dll, I believe, I have already shared with >you sample programs that exhibits the truncation behavior. I should have been clearer. What I mean by Cygwin programs are programs linked with the Cygwin DLL, using only Linux/POSIX functions. If program A exec's program B using one of Cygwin's exec/spawn functions it will not suffer from command line truncation. But, if you choose to use Windows APIs then you are on your own. There is no guarantee that Cygwin functionality like process handling, signals, pipes, etc. will work reliably. >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 :-) The documentation is most definitely not silent. https://cygwin.com/cygwin-ug-net/using-cygwinenv.html makes it very clear in the second sentence of the above section. 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |