delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/04/24/13:02:06

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:to:from:subject:date:message-id:mime-version
:content-type:content-transfer-encoding; q=dns; s=default; b=oK5
yVpMMuct9wfooXWA6W1tcOlOhDJ9kvA+oxYM97U1621yGTheYuXxv+uP7GCr9a+h
SvS2T0vLBqWAuXc4qmV//38YVgITxLkGFFCYxJdowgfeEFu+UURDrxNxCsvFouu2
/UKU97NhYmMu8DNbSb7N1NXm15ys+Fd9h413npOY=
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:to:from:subject:date:message-id:mime-version
:content-type:content-transfer-encoding; s=default; bh=HMctOqB6j
ohwcg/FbDL8YIkN9f0=; b=rvfx7/KpveKquI92cE98ZsKkbjAoEtUhrv7MX1BFy
KEljC7yJlTXsdo+NszbzdrDfviELdilGRppYxFagyUI7dDB93jZ7hbGHZ9OTqHMS
v+gggenmBqd9OHgZJ1xn9pn6B44S54FJ4B1CmzTlMfS0vUY6NuzSnUXRuofYOo6G
vA=
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=2.0 required=5.0 tests=AWL,BAYES_50,RCVD_IN_DNSWL_NONE,RCVD_NUMERIC_HELO,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS,T_FSL_HELO_BARE_IP_2 autolearn=no version=3.3.2
X-HELO: plane.gmane.org
To: cygwin AT cygwin DOT com
From: Dawid Ferenczy <ferenczy AT volny DOT cz>
Subject: default shell
Date: Thu, 24 Apr 2014 17:00:30 +0000 (UTC)
Lines: 14
Message-ID: <loom.20140424T185221-299@post.gmane.org>
Mime-Version: 1.0
User-Agent: Loom/3.14 (http://gmane.org/)
X-IsSubscribed: yes

Hi,

   it's not a big deal, I just wonder what to execute, if I would like to 
execute user's default shell (defined in /etc/passwd). For example in cmd.exe, 
ConEmu or Console2. I don't want to hardcode a shell anywhere (in console 
emulator configuration, some batch file etc.), I just want to auto detect 
user's default shell and execute it. If it's possible :) Exactly the same what 
does mintty.

Thank you and have a nice day!

-- 
 Dawid Ferenzy
 http://twitter.com/DawidFerenczy


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