2

I've tried this with ConEmuPack.141123 and ConEmuPack.140602:

As you can see, error messages print fine (like dir: command not found), but output from bash commands don't show up.

Does anyone know why I don't see any output from any of the bash commands?

enter image description here

1
  • It's working on my side. I suppose you need to create an issue on project bugtracker. Some debug logs will be requested at least.
    – Maximus
    Commented Nov 25, 2014 at 16:35

1 Answer 1

1

Ok, guess I found the secret sauce to make this work. My bad for not paying attention to the details.

The solution is to start the shell with --login -i paramaters like so:

// works
C:\MinGW\msys\1.0\bin\sh.exe --login -i -cur_console:s1THn -new_console:d:d:\src

// doesn't work
C:\MinGW\msys\1.0\bin\sh.exe -cur_console:s1THn -new_console:d:d:\src

And now all looks good!

enter image description here

--login stands for login shell, although I have no idea what that means. -i I guess is for "interactive"? I couldn't find any official docs about these two arguments, so not sure.

6
  • Actually, I've checked "non login" session as you've shown in the question. And there was no problems with output. So it must be working without -l -i. Debug logs are desired.
    – Maximus
    Commented Nov 26, 2014 at 8:29
  • But, have you tried the same (without -l -i) in the standard Windows console outside of ConEmu?
    – Maximus
    Commented Nov 26, 2014 at 8:30
  • Yeah, the same thing works in Windows console without those switches. Without -l, it doesn't even come to the linux like prompt, rather sh.exe"-3.1 $. This tells me that something's not going thru right. -i alone isn't enough, -l is needed. I haven't tried just -l without -i though. How do I capture debug logs?
    – Mrchief
    Commented Nov 26, 2014 at 14:59
  • Settings -> Debug -> Shell
    – Maximus
    Commented Nov 26, 2014 at 16:48
  • Found it under Settings > Info > Debug > Shell. But every time I restart ConEmu, it reverts to Disabled. I see no log output in the folder either.
    – Mrchief
    Commented Nov 26, 2014 at 19:41

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .