Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Subject: Does anyone know how to invoke a bash process via a dos batch program so commands after bash execute? Date: Mon, 12 Apr 2004 18:05:15 -0400 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: From: "Lipin, Adam" To: X-OriginalArrivalTime: 12 Apr 2004 22:05:16.0581 (UTC) FILETIME=[3CA7DD50:01C420DA] Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id i3CM5WCa010497 Does anyone know how to invoke a bash process via a dos batch program so commands after bash execute? For example. batch1.bat contains: REM This is batch1.bat batch2.bat test exit batch2.bat contains: REM this is batch2.bat echo %1 bash echo %1 exit The result set is: test I want it to be: test test **** Important Notice to Recipients **** It is important that you do not use e-mail to request, authorize or effect the purchase or sale of any security or commodity, to send fund transfer instructions, or to effect any other transactions. Any such request, orders, or instructions that you send will not be accepted and will not be processed by Morgan Stanley. **************************************** -- 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/