Hi Jussi,
I would like to run Cygwin from within Zeus. I added a tool and point it to c:\cygwin\bin\bash.exe with the -i -l arguments, and a normal window option. The window opens, and bash starts at a directory that is not the root directory of my user and doesn't run .bashrc
Running the same from a command prompt or from the Cygwin icon does start at the user root folder.
Any idea what this might be?
Amit
bash blues
Hi Amit,
Are you using the --rcfile bash command line option
This web page seems to suggest this should be possible: http://www.bioinf.uni-freiburg.de/~mman ... ndows.html
The page also suggest you can run a bash command from a Windows batch file.
Now if this is the case, it should be possible to have Zeus run the windows batch file and if you have the bash command pipe it's output to a text file, it should also be possible to have Zeus read this output text file and have the output displayed in the Zeus error window.
For more details search the forum for the word: capture
Cheers Jussi
Are you using the --rcfile bash command line option

This web page seems to suggest this should be possible: http://www.bioinf.uni-freiburg.de/~mman ... ndows.html
The page also suggest you can run a bash command from a Windows batch file.
Now if this is the case, it should be possible to have Zeus run the windows batch file and if you have the bash command pipe it's output to a text file, it should also be possible to have Zeus read this output text file and have the output displayed in the Zeus error window.
For more details search the forum for the word: capture
Cheers Jussi
Thanks Jussi,
Looks like adding the cygwin bin directory to the PATH resolved this problem.
Now, I would like to open bash in the project directory.
I have a small batch that I run:
And I send it $PDR and $PD as arguments. They both turn out to be empty, although I have a workspace and project defined. (BTW, $FD is not empty). So I guess I'm not setting something right for Zeus to fill those macros. Please assist.
Amit
Looks like adding the cygwin bin directory to the PATH resolved this problem.
Now, I would like to open bash in the project directory.
I have a small batch that I run:
Code: Select all
@echo off
%1
cd %2
bash -i
Amit