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:reply-to:subject:references:to:from:message-id
	:date:mime-version:in-reply-to:content-type
	:content-transfer-encoding; q=dns; s=default; b=WR0FOpa9wJaH2CMZ
	N6Nj5WzPEwQRL7VrD/g1Fl7ff/uKkajFbZoDtubYRK/+7infd9GWrP6mYdKpQmQc
	2PbuZzXwf1JP1s4gxhqRig5+62c31rg14kw91NWC7eb2Pk61OEXmWb5KhnFhOTfW
	hgVMH97kvUjUb8bXsU28IF/Gpog=
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:reply-to:subject:references:to:from:message-id
	:date:mime-version:in-reply-to:content-type
	:content-transfer-encoding; s=default; bh=MMmhhPbjzxnIBV8ibhr/vO
	oMoc4=; b=uP76MoS5vmNIk85TiaIu/yZ/VaQr3uY+3vD06XC77uk2Ihb/4nxccR
	LrCUo4I/yc2+qIks8/fQ9KR+PhBxA8RFc8IQvqeLsDdAFlQNl+2hZvfjxOwCAQCd
	WT4sLJR0vZgJyXkwUpk4D5D79m1J69TE9pf8X0Gd0ZDw9kJyY4B4I=
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=0.6 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=gaining, H*R:D*ca, sticking, Prompt
X-HELO: smtp-out-no.shaw.ca
X-Authority-Analysis: v=2.2 cv=M/89E24s c=1 sm=1 tr=0 a=MVEHjbUiAHxQW0jfcDq5EA==:117 a=MVEHjbUiAHxQW0jfcDq5EA==:17 a=IkcTkHD0fZMA:10 a=5ZKbAp1dW_oIo6GutgUA:9 a=QEXdDO2ut3YA:10
Reply-To: Brian.Inglis@SystematicSw.ab.ca
Subject: Re: Starting from a Windows Command Prompt
References: <CAKqBF1gnbsiRURXOd7zo=w5hu9A_KMzchgoQMYCc_SeYDxjWvw@mail.gmail.com> <1cc1103d-708a-868d-c513-cc0dac4656e6@SystematicSw.ab.ca> <49340806.20170712231509@yandex.ru>
To: cygwin@cygwin.com
From: Brian Inglis <Brian.Inglis@SystematicSw.ab.ca>
Message-ID: <4b21d6ac-25c8-9f6e-9af7-f2420774120d@SystematicSw.ab.ca>
Date: Wed, 12 Jul 2017 17:25:46 -0600
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1
MIME-Version: 1.0
In-Reply-To: <49340806.20170712231509@yandex.ru>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-CMAE-Envelope: MS4wfPru/BmADEvLpmr/1b3ueAorfFVqY1VfxdYoPZ7FrFb6UpL1tsRgoZteM9iYmZXCIlf7kQLqhmMUo7faIGbbF5Q0S03NUkSUl0eN7/wNc+r5cfr94zwL i9+5wfE9Na6lg5ub1DAeAshR9UowIhEYgSzE/ms7nOql1/l1qBha4shP8iwYuJs4a6iB3RUgk5XoLw==
X-IsSubscribed: yes

On 2017-07-12 14:15, Andrey Repin wrote:
> Brian Inglis wrote:
>> On 2017-07-12 00:16, Ugly Leper wrote:
>>> Starting from a Windows Command Prompt, and using a syntax recommended
>>> from years ago I still start a bash shell with
>>> start /wait bin\bash (i.e. not just bin\bash)
>>> and a mintty shell with
>>> start bin\mintty (i.e. not just bin\mintty)
>>> and yet experiment shows that both simplified forms in brackets "work".
>>> Am I gaining / losing anything by sticking with the older longer
>>> syntax, or can I just dive in, as in brackets?
> 
>> Running with start, like cygstart, spawns a separate window process
> 
> Not necessarily.
> Ref: START /B

Only in that case does it start a background console process sharing the cmd
window for output, like Unix shell jobs, but the program apparently goes
squirrelly if it tries to do any console input, although msg and dialogue boxes
work.

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

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

