Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
X-Authentication-Warning: ics-server.interface-net.com: lbakken owned process doing -bs
Date: Fri, 22 Sep 2000 08:48:04 -0700 (PDT)
From: Luke Bakken <luke_bakken@yahoo.com>
X-Sender: lbakken@ics-server.interface-net.com
Reply-To: luke_bakken@yahoo.com
cc: cygwin@sources.redhat.com
Subject: Bash + Shell hack = ?
In-Reply-To: <20000922145540.16156.qmail@web114.yahoomail.com>
Message-ID: <Pine.BSO.4.21.0009220843450.13127-100000@ics-server.interface-net.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

Hi,

I've got an option for my "File Folder" file type so that if I right-click
on a folder, I can execute a cmd.exe prompt in that folder:

cmd.exe /K cd "%1"


What I'm wondering is if something analogous to the /K switch exists for
Bash, so that I can run a command before starting the login shell. the
"-c" option is similar, but the shell exits after running the command
specified. What I want is for it not to exit.

Thanks,
Luke


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

