X-Recipient: archive-cygwin@delorie.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:from:mime-version:content-type
	:content-transfer-encoding:message-id:date:to:cc:subject
	:in-reply-to:references; q=dns; s=default; b=fAdtCjSkMGBQ/58j4FY
	VDqUZNSl2t0zNSId1RSPnvP50x9Mzhnfsr+yMvtopWFCiIgbbjJ5LkXqd0LNuJLF
	c1G9HGhYMsVXxt3aOtoR70pd1QYXa/mOoazWPnahMHznvItMObE1cvfXkLD0Uw1h
	XRKCKynK1rTvlOTh/d+PRTTw=
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:from:mime-version:content-type
	:content-transfer-encoding:message-id:date:to:cc:subject
	:in-reply-to:references; s=default; bh=n9txO8PklS8M+6i/ryNVCffrC
	nQ=; b=QYoGhowcBdvXhBWJhuEjZ18irAOXE5Ly+c72B6qlKQactvWij5ZN5Gixn
	qEZq/npXqCIAA/bgtoW+pD1ZqItOc3GwodgEvpLWvCwiiC7SW7WD9Enqw9a5ckZg
	pRIt+9n1jrl3BESSeisMb3MLRTkc7hWIDaBxk5Hw3ROlbevqZY=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.7 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_HK_NAME_FM_DR autolearn=ham version=3.3.2
X-HELO: mail-wi0-f171.google.com
X-Received: by 10.194.23.228 with SMTP id p4mr4815534wjf.151.1445958670451;        Tue, 27 Oct 2015 08:11:10 -0700 (PDT)
From: Dr Rainer Woitok <rainer.woitok@gmail.com>
X-Google-Original-From: Dr Rainer Woitok <Rainer.Woitok@Gmail.Com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <22063.37889.345000.595112@woitok.gmail.com>
Date: Tue, 27 Oct 2015 16:10:57 +0100
To: Eric Blake <eblake@redhat.com>
Cc: cygwin@cygwin.com
Subject: Re: Command line length in Ash or Dash Shells
In-Reply-To: Msg <562E514E.4000801@redhat.com> of 2015-10-26 10:14:06 -0600 from eblake@redhat.com
References: <22062.2952.946000.358554@woitok.gmail.com>	<562E514E.4000801@redhat.com>
X-IsSubscribed: yes

Eric,

On Monday, 2015-10-26 10:14:06 -0600, you wrote:

> ...
>                                                                  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.

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.

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?

This would be just enough I think.

Sincerely,
  Rainer

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

