This is the mail archive of the cygwin@cygwin.com 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: Cygwin Here power toy


REGEDIT4
[...]
[HKEY_CLASSES_ROOT\Directory\shell\CygwinHere\command]
@="c:\\cygwin\\bin\\bash.exe --login -c \"cd '%1' ; exec /bin/bash -rcfile ~/.bashrc\""
can you think of any better way to start bash?
the above creates two bash.exe in memory:
one executing /etc/profile and the cd-command
and one showing the prompt.

bash --login -c "command"
exits after executing the command.
is there any bash-internal command, that let's you show a prompt after the command is executed? or any switch that forces bash to not exit?





--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.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]