delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT sources DOT redhat DOT com |
Delivered-To: | mailing list cygwin AT sources DOT redhat DOT 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 AT yahoo DOT com> |
X-Sender: | lbakken AT ics-server DOT interface-net DOT com |
Reply-To: | luke_bakken AT yahoo DOT com |
cc: | cygwin AT sources DOT redhat DOT 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 |
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 AT sourceware DOT cygnus DOT com
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |