delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/10/27/11:11:32

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: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 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.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 DOT woitok AT gmail DOT com>
X-Google-Original-From: Dr Rainer Woitok <Rainer DOT Woitok AT Gmail DOT Com>
MIME-Version: 1.0
Message-ID: <22063.37889.345000.595112@woitok.gmail.com>
Date: Tue, 27 Oct 2015 16:10:57 +0100
To: Eric Blake <eblake AT redhat DOT com>
Cc: cygwin AT cygwin DOT 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 DOT 2952 DOT 946000 DOT 358554 AT woitok DOT gmail DOT com> <562E514E DOT 4000801 AT redhat DOT 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

- Raw text -


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