From: Renato Silva [mailto:br.renatosilva@...]
Sent: Tuesday, October 30, 2012 9:33 AM
> Those exit lines you pasted early look just like if you had typed the exit
> which makes me wonder if for some crazy season bash is just receiving that
> standard input.
It certainly *seems* to act almost exactly as if I'd typed it... :-/
(except for the speed, and of course for the fact that I don't touch the
keyboard!) I'm still not sure if that can somehow point to a solution - if
I'm doing it subconsciously I'll likely need a shrink instead. ;)
> Another suggestion, make a diff out of the full unique file list you
mentioned above when
> you start bash from cmd.exe and it exits, and the list for when you can
> bash (e.g. from mintty).
I spent some time actually taking the two files and lining them up - so that
the parts that were identical match up and you can easily see what happens
different on either side. It doesn't seem like much to me, but if you're
still willing to help, maybe you can see something in it. I'll put them up
on the same members.shaw.ca under /notes/ if you want to have a look.
> Yes, I'm very curious to know what's happening. So please provide feedback
on these and
> the previous suggestions :-)
I tried your other suggestion, re: deleting the few bash.exe* files in the
prefetch.. no luck there.. thanks for that though.
As far as the results from just bash vs bash with the "--login -i" ..
they're slightly different, in that just bash gives me "exit" on the prompt,
and with the args, it says "logout" Also, with the args, I get user@...
and coloured prompt, whereas without I just get "bash-3.1$" as the prompt.
Also, it's interesting that when I run just bash, it only runs the .bashrc
file in msys/1.0/ and none of my .bash_logout files - when I run it with the
args, it doesn't run any of my .bashrc files, but it does run my
.bash_logout file in msys/1.0/home/user/
I have different .bashrc and .bash_logout files in /msys, /msys/1.0,
/msys/1.0/home/user, and even put some in /msys/1.0/bin so I can tell which
> It's a bit frustrating when you get curious and try helping someone, but
they don't share
> the solution or if they just gave up, like on some recent threads around
I don't know how much more you can or are willing to help, but I do
appreciate your efforts so far! :)
The files of the different runs (from the prompt that exits immediately and
from mintty, where I typed exit manually) I put up are:
The unique paths lists from each run
The two full (unmodified) csv logs from each run:
The two logs that I added in dummy lines to line them up (my stupid compare
program forced me to put in the first few fields, but you can see all the
times in inserted lines are identical, and they only have the first few
I don't know if that helps, (as it didn't seem to help me much, but maybe
you or someone else can see something..? assuming you haven't given up on me