RE: Does anyone know how to invoke a bash process via a dos batch program so commands after bash execute?

2004-04-14 Thread Hughes, Bill
Sent: 13 April 2004 19:33 From: Igor Pechtchanski Does anyone know how to invoke a bash process via a dos batch program so commands after bash execute? Do you want to wait for bash to finish or not? See below. ..snip.. The batch file called from a batch file is a red herring, as

RE: Does anyone know how to invoke a bash process via a dos batch program so commands after bash execute?

2004-04-13 Thread Buchbinder, Barry (NIH/NIAID)
If call bash works, it implies that the bash that the batch file is calling is really bash.bat. Do you have one of those in your path? If so, changing bash to bash.exe will also work, assuming that you do not need what is in bash.bat. -Original Message- From: David McNeill Sent:

RE: Does anyone know how to invoke a bash process via a dos batch program so commands after bash execute?

2004-04-13 Thread Lipin, Adam
That works. Thanks a lot. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Korn Sent: Tuesday, April 13, 2004 11:03 AM To: [EMAIL PROTECTED] Subject: RE: Does anyone know how to invoke a bash process via a dos batch program so commands after bash

Re: Does anyone know how to invoke a bash process via a dos batch program so commands after bash execute?

2004-04-13 Thread Igor Pechtchanski
On Mon, 12 Apr 2004, Lipin, Adam wrote: 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

Does anyone know how to invoke a bash process via a dos batch program so commands after bash execute?

2004-04-12 Thread Lipin, Adam
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:

Re: Does anyone know how to invoke a bash process via a dos batch program so commands after bash execute?

2004-04-12 Thread Matthew O. Persico
On Mon, 12 Apr 2004 18:05:15 -0400, Lipin, Adam [EMAIL PROTECTED]said: Does anyone know how to invoke a bash process via a dos batch program so commands after bash execute? 'bash' is a red herring in this case. Try this: batch1.bat: REM This is batch1.bat batch2.bat test echo back from