Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 To: "'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 Content-Type: multipart/mixed; boundary="----_=_NextPart_000_01C3987F.310AB640" 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= xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=0A= =0A= #NUMBERS=3D"1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20"=0A= NUMBERS=3D"1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 = 24 25 26 27 28 29 30 31 32 33 34 35"=0A= for n in $NUMBERS ; do=0A= CLASSPATH=3D${CLASSPATH}";$LINE"=0A= done=0A= =0A= export $CLASSPATH=0A= ------_=_NextPart_000_01C3987F.310AB640 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--