| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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 |
| Message-ID: | <445C57B81208C24EAD99F2944DBB9D29030212F3@BLNSS10A> |
| From: | Klein Andre ICM N AS PD B 3 <andre DOT klein AT siemens DOT com> |
| To: | "'cygwin AT cygwin DOT com'" <cygwin AT cygwin DOT com> |
| Subject: | Cygwin/bash: need environment variables >32K |
| Date: | Wed, 22 Oct 2003 11:30:54 +0200 |
| MIME-Version: | 1.0 |
| Note-from-DJ: | This may be spam |
------_=_NextPart_000_01C3987F.310AB640
Content-Type: text/plain;
charset="iso-8859-1"
I need to set a very long environment variable CLASSPATH within Cygwin bash.
But there seems to be an upper limit of 32K for environment variables!?!?
Is there any way to increase this upper limit?
I have attached 2 small files for demonstrating the problem.
Start run.sh and the invocation of the executable (java) failes...
Thanks for any help
Andre
------_=_NextPart_000_01C3987F.310AB640
Content-Type: application/octet-stream;
name="setClasspath.sh"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
filename="setClasspath.sh"
LINE=3Dxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx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
Content-Type: application/octet-stream;
name="run.sh"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
filename="run.sh"
. ./setClasspath.sh=0A=
=0A=
echo $CLASSPATH=0A=
=0A=
echo "proceed after setClasspath ..."=0A=
java -cp $CLASSPATH notExistingClass
------_=_NextPart_000_01C3987F.310AB640
Content-Type: text/plain; charset=us-ascii
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
------_=_NextPart_000_01C3987F.310AB640--
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |