This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: /etc/profile always does a "cd $HOME"


> i'd like to use cygwin from a normal windows-app. The problem is, that i
> need a login-shell, so that all environment-vars are properly set. The
> problem: bash -li always changes the current workdir!

So here's what i'd like to do. Perhaps you could help me with that:

I'm trying to execute make from a regular windows app. imagine if
batch-file if it helps. So my batch-file would look like that

c:\cygwin\bin\bash -lc "make"

If i use bash without the "-l", the PATH variable contains too few
entries, and make isn't found. Besides changed the PATH-variable
manually, which possibility is there to execute a command within a fully
functional cygwin environment?


--
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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]