delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/10/27/12:55:35

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:subject:to:references:cc:from:message-id:date
:mime-version:in-reply-to:content-type; q=dns; s=default; b=ClNG
BLurjJgpX8wkqSp+xnGkJ2IzbNlW1+lrW+4JKRGScPFCA/JfbOk+fyUL+hjb5buh
hw8kYGuK1v6S73tSPJpzkZHLst9LLxJzET+kZDIPzI0ANQ2dNovb+LA+WLliiJ4o
FxYujLDEniUDH3H61wU0WGBgmJOu9dCIxMma5JM=
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:subject:to:references:cc:from:message-id:date
:mime-version:in-reply-to:content-type; s=default; bh=ekXZD+9R89
74/tJz+s6TBRAjRa0=; b=CpWF+UgTnT2Dp7z2bBLXqX8xqNTsBgVnhydeuw7E4h
rfEsO+7nj15BpHCgkEs/Cd1Hor/eAmCcq7sbQUMSJO+DdDHTJlETURmGR75QmSP0
4X4rxsGpiLcP/tPtvd6cECakZpxui5YhwKc76e1ID4b8OwdDiIohkQIpoqSRB7bG
E=
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=-1.8 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=ham version=3.3.2
X-HELO: mx1.redhat.com
Subject: Re: Command line length in Ash or Dash Shells
To: Dr Rainer Woitok <rainer DOT woitok AT gmail 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>
Cc: cygwin AT cygwin DOT com
From: Eric Blake <eblake AT redhat DOT com>
Openpgp: url=http://people.redhat.com/eblake/eblake.gpg
Message-ID: <562FAC74.50200@redhat.com>
Date: Tue, 27 Oct 2015 10:55:16 -0600
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0
MIME-Version: 1.0
In-Reply-To: <22063.37889.345000.595112@woitok.gmail.com>
X-IsSubscribed: yes

--rh8G3qFjrusbO9NQfDjfmwKTbTU393T7R
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

On 10/27/2015 09:10 AM, 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.

Sadly, setup-x86*.exe is a native Windows process, not a cygwin process
(and MUST be, since you can run setup prior to having cygwin installed).
 So it is unfortunately stuck at the Windows limitations on max
command-line+environment sizing.

Of course, patches are welcome, if someone would like to propose a way
to make setup-x86.exe read its package list from a file name given on
the command line, rather than having to pass every package name on the
command line.

--=20
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org


--rh8G3qFjrusbO9NQfDjfmwKTbTU393T7R
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
Comment: Public key at http://people.redhat.com/eblake/eblake.gpg
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBCAAGBQJWL6x0AAoJEKeha0olJ0Nqiw8H/1AIQyXKzVVlOHHdhhbubZG4
rAsvLyLZ80gia6eVs9eUKlLq6puJRXGu7TGXMdXucugxU3FIgsALfFkaohJr2Bgm
NAZZREReHKCG5tKF+4FhqiRUMUkzbDrIwm+WClnyvjalqA6z281XkeNsMUh2ALpC
BQz/vrfc32Z+D9V7JrmNJbg3LPwqGl9+9JV6MobdpCTHHVMKaK3ANHrofNop4p1k
qyWe83UfiFCULlUoWtqG5LvVs31KC5W6HLGc91Sy3PLj851eOWqLAA5J8Yg/K7jZ
IFi9TF44MTWzKZnAl8BMllrUEVAqzWZXVzQRpYUvg30uJAP9r4xB5JYAVjfV16Y=
=ZVFl
-----END PGP SIGNATURE-----

--rh8G3qFjrusbO9NQfDjfmwKTbTU393T7R--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019