From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 125960 invoked by alias); 27 Oct 2015 15:18:06 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 125919 invoked by uid 89); 27 Oct 2015 15:18:06 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-5.4 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY autolearn=no version=3.3.2 X-HELO: calimero.vinschen.de Received: from aquarius.hirmke.de (HELO calimero.vinschen.de) (217.91.18.234) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 27 Oct 2015 15:17:59 +0000 Received: by calimero.vinschen.de (Postfix, from userid 500) id 16C81A803FA; Tue, 27 Oct 2015 16:17:56 +0100 (CET) Date: Tue, 27 Oct 2015 19:06:00 -0000 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: Command line length in Ash or Dash Shells Message-ID: <20151027151756.GV5319@calimero.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <22062.2952.946000.358554@woitok.gmail.com> <562E514E.4000801@redhat.com> <22063.37889.345000.595112@woitok.gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="YZElM7ipGqdpYifc" Content-Disposition: inline In-Reply-To: <22063.37889.345000.595112@woitok.gmail.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-SW-Source: 2015-10/txt/msg00489.txt.bz2 --YZElM7ipGqdpYifc Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 1264 On Oct 27 16:10, Dr Rainer Woitok wrote: > Eric, >=20 > On Monday, 2015-10-26 10:14:06 -0600, you wrote: >=20 > > ... > > So once > > you start a dash shell, that dash shell can start any number of other > > dash shells with no command line length limit other than the memory > > available to your machine. >=20 > Assume I terminate Cygserver and any other Cygwin services running, I > then start "ash.exe" by double clicking it in a Windows Explorer window, > from the command line in the "ash.exe" window I start my Ash Shell > script which in turn starts "setup-x86*.exe" with a very long command > line. >=20 > Am I interpreting you correctly in assuming that under these circumstan- > ces the maximum length of this command line is 2 * 10**9 ASCII charact- > ers on my box? That won't work. setup.exe is a non-Cygwin application so it's restricted to the maximum line length of the CreateProcess call, which, per https://msdn.microsoft.com/en-us/library/windows/desktop/ms682425%28v=3Dvs.= 85%29.aspx is 32768 characters. Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --YZElM7ipGqdpYifc Content-Type: application/pgp-signature Content-length: 819 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJWL5WkAAoJEPU2Bp2uRE+gOc8P/1r35OEc+meKEleyYSfb0Y5i u8HTxH7OKLDsrmO2+maR0nQN7bwqHBqNAxF1N0NjDfxAIQCMx3Inh06eaL0NdDUU oCUuOLtvoVLylYdiWi1/DrzFC2R8YyXreCz8g7R8bul6KJ9P2eTrK+cy8NWXUUxm KU2ohmf5BRWX8tLeA9+UTFAUp4xhpGPBGIdUcZnKl3Weu8F+f+2YP1O8Oug0+PUI 3bMY2vpEClRuSybWj2ornsGr3hs/gOv3p60viUnwjiEvGCo172mmYs89psqy+1jR y3d5emtbJYXp9vQQ8+bHoWgYBtvcep17YDZjxglQDqgSqudlo9lq9k+EgXRW3J6G b/ZkQw2GjYFvO0E6qOFcgjMdLUGMIVxEOU9xD6/hJzTVF5gTHQXBAadUIvB8Olc1 sl+1/H9yx+8F2V2z2kRxualuXyuFD5gh+4gIAHuKCHq4T34kTOYD1C49W2/LUBal pqe65Nq9AhU3eXEvR5xaox2GdB2AGWB4x/IjMXPyDHSJ/LnFKbR4+JdJ7ByiqvwW Ct9M+j+krR9TnlpOCizdCxu53yW/7R2QpKsAeqIDyrFxw3UTGhf/c1vZD6OQRTrL lK8A1lUCRjNhixYeQZAijDickRECw/obdaNO59TER73o21+jJAzGeuHl4UxpVMf6 X7iR0vDPX5ZVCfS0I6GY =TM72 -----END PGP SIGNATURE----- --YZElM7ipGqdpYifc--