delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/07/12/14:29:12

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:reply-to:subject:to:references:from:message-id
:date:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=aODAoCpI0ulK5iI+
Y23Yf7WU915WfoUNZNCT9KAETzBDmp7I2GJojVY34fiuWNl7Fak4T5hD18E3CKIE
TL+lkpCIciJCjp/yrvvzxVZxOPGwexpzzdIA4jr6ituYcQ9vbTh2fO6Q3lTMn86G
lSBsA9m2tKsvvaqqZxLj/cu0AGE=
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:to:references:from:message-id
:date:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=WnvH5WL/3wkg/lLt0Uxt5a
pC6sQ=; b=sxdln27uQq3Pri3WkssdJbz1djkD02Tk/wgZws0AdW295GDpfOw1B2
mvsAELmh1NJ6jHP/JScdj5IWaitxwZSUXS1gUi0sewdIQ6s25/F3gWQ92rtKsUAq
ax4DCTsDGZwvqcPmUEf2JVeDwdwbeGe7PciWIq7SglfVaBWK6VTrw=
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.9 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=gaining, H*R:D*ca, sticking, Hx-languages-length:1107
X-HELO: smtp-out-no.shaw.ca
X-Authority-Analysis: v=2.2 cv=a+JAzQaF c=1 sm=1 tr=0 a=MVEHjbUiAHxQW0jfcDq5EA==:117 a=MVEHjbUiAHxQW0jfcDq5EA==:17 a=IkcTkHD0fZMA:10 a=r2IgWggXoIjfwI8-04MA:9 a=QEXdDO2ut3YA:10
Reply-To: Brian DOT Inglis AT SystematicSw DOT ab DOT ca
Subject: Re: Starting from a Windows Command Prompt
To: cygwin AT cygwin DOT com
References: <CAKqBF1gnbsiRURXOd7zo=w5hu9A_KMzchgoQMYCc_SeYDxjWvw AT mail DOT gmail DOT com>
From: Brian Inglis <Brian DOT Inglis AT SystematicSw DOT ab DOT ca>
Message-ID: <1cc1103d-708a-868d-c513-cc0dac4656e6@SystematicSw.ab.ca>
Date: Wed, 12 Jul 2017 12:28:54 -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: <CAKqBF1gnbsiRURXOd7zo=w5hu9A_KMzchgoQMYCc_SeYDxjWvw@mail.gmail.com>
X-CMAE-Envelope: MS4wfING7pI8iYm5Up1q8CQT4YBDLo4yHEsKWmHApjRka4kF7gJRcQmCqVBdfuoe35x2NaDJ6PTakugvwd2+Y9QywgvAR4FCx3daSxZwra+B1TDkrnzg+TY4 PjHIoSuY2aaUv0Emd83wDuGUFzVf9ZeGfSPRO1YtreSe0NKnuqbm83fGVFQNPVJHjkN8ejUHkZpgEA==
X-IsSubscribed: yes

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 for the
program, as does running mintty with or without start or cygstart.
The difference with bash and start /wait is you currently keep a cmd shell
window hanging around rather than running bash as a subshell in your cmd window.

Why not take advantage of Windows, and pin Cygwin shortcuts to your Start Menu
and/or Taskbar, so you can more easily start mintty or bash in their own windows
with just a click, almost like a real Unix X Window environment? ;^>

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

- Raw text -


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