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=B3bAjlcCvqN2wsoRiXvmrFaXZ9TmpZltmm2X20TMhTUn3z2b/2rTj UQMOeYuuqJEiTl/UDLzKFdNjggvsK6rya856KlFNZvXbXSDskKhmAsFZJzi0g4RR hqliPFrgq/cvuScnyox3lYh2p1VwTbqROT43kYjKQq/m1rGpaU+EWU= 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=n7sbEnQQOMVuxe9bcFAx5nFo7D8=; b=V4/9TjHqnLdbEaY/7BF131hXesbp ooRTHc+lI2AX6xr1PDB0kLUDPCt3pQ+9+z6P7pIkhDiqNDSEsZio/ltuv4ycS3HZ gWvTfuXlUdKNK2dzlGAAow7LCdvpm6U2E5sE0YPzoiyKibgLiV5/INLdVWFVul89 11877rLj2JVnNc8= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 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 Date: Tue, 27 Oct 2015 16:17:56 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: Command line length in Ash or Dash Shells Message-ID: <20151027151756.GV5319@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <22062 DOT 2952 DOT 946000 DOT 358554 AT woitok DOT gmail DOT com> <562E514E DOT 4000801 AT redhat DOT com> <22063 DOT 37889 DOT 345000 DOT 595112 AT woitok DOT gmail DOT 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) --YZElM7ipGqdpYifc Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 -----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--