On Wed, Dec 17, 2008 at 09:12:00AM +0900, SungHyun Nam wrote: > Hello, > > If I use cygwin-1.5, I can run any native win32 app from the bash prompt. > If I switch to cygwin-1.7, I cannot. > > ~[13]$ notepad > ~[14]$ notepad& > [1] 1656 > ~[15]$ > [1]+ Exit 127 notepad > > There's no notepad window.
WFM. Exit 127 often means "command not found". Are you sure that notepad is in your path? That doesn't explain why you didn't get an actual error though. > If I try to run 'strace notepad', I get a windows dialog box. > The dialog message is something like below (use Korean version): > Cannot initialize an application properly (0xc0150004). > Click [OK] to finish an application. > > After I click the [OK], there is a message in terminal: > ~[2]$ strace notepad > --- Process 660, exception C0150004 at 7C99478E strace is a cygwin thing. It doesn't work on non-cygwin programs like notepad. It might be useful to do something like: strace -o strace.out bash -c notepad however. > This problem occurs on a desktop (XP-Pro SP3). I have a personal > laptop (XP-Home SP3) and this problem does not occur on it with > cygwin-1.7. You need to provide more details. I'm assuming from the prompt that you are using bash but assuming is not the best way to diagnose problems. Please, at the very least provide the cygcheck output that we always ask for whether this is Cygwin 1.5 or 1.7. cgf -- 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/