delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/07/20/16:46:17

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
Reply-To: Cygwin List <cygwin AT cygwin DOT com>
Message-Id: <6.1.0.6.0.20040720163351.0338a438@pop.prospeed.net>
X-Sender:
Date: Tue, 20 Jul 2004 16:38:20 -0400
To: Jason Joines <joines AT bus DOT okstate DOT edu>, cygwin AT cygwin DOT com
From: Larry Hall <lh-no-personal-replies-please AT cygwin DOT com>
Subject: Re: setting windows environment variables
In-Reply-To: <cdjumr$j90$1@sea.gmane.org>
References: <cdjumr$j90$1 AT sea DOT gmane DOT org>
Mime-Version: 1.0

At 04:18 PM 7/20/2004, you wrote:
>    I have a Cygwin BASH script which takes user input, uses ldapsearch, etc., to set a bunch of environment variables.  I can then use these from bash with no problem.  I would also like to make these environment variables available to the windows command interpreter.
>    Is there anyway to do this?


Only if the windows command interpreter is a child of the bash process you
run from.  Otherwise, your best bet is to export the variables as some
batch file and run that in the windows command interpreter.


>    Also, is there a BASH equivalent of the windows cmd start command that lets you start many processes without having to wait on each to finish?


How about 'cygstart'?


--
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
838 Washington Street                   (508) 893-9889 - FAX
Holliston, MA 01746                     


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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