-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Winpty doesn't appear to work with devenv #899
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
This is just a wild guess, but have you tried setting MSYS_NO_PATHCONV (with or without winpty)?
|
@landstander668 Both appeared to build but still no output. As a side note I can't get winpty to work for interactive ruby either. It does work with python just fine. |
Maybe
works. |
@dscho sorry that was a typo. That is the command I actually used. Updated my original post. |
FWIW, a few colleagues and I just use |
From: Craig E. Shea Craig, Could you give a little bit more info on how to created the whole Git project? Did you have to build it from scratch, or create a script that gatheered everything together, or whatever. I'm interested, as I never quite completed the msvc-build script (which generates a complete .sln/.vcproj set) to the point of doing the post-build step. Though an inspiration this week was just to do that as an independent script, rather than trying to inject the post build into the .vcproj files. see #256 for the msvc-build fixes to the one on contrib/. does it link with @jeffhostetler 's work #773 ?Philip |
@PhilipOakley I didn't see anything in this issue to suggest the OP was trying to build Git for Windows using VS. All I read is that they're trying to use So if this post is really about building Git for Windows using VS, then my comment is not applicable and I am actually eagerly awaiting the ability to do just that! I apologize for any confusion. |
Hi Craig, my question didn't quite read right when I saw in in the global reply. I'd see you mention that you had used "msbuild" to build the Git project and were suggesting that it may be an option for the OP. My question was actually back to yourself to see if I could get a little more info about how you used the "msbuild". I wasn't aware of 'msbuild' .. though google now tells me it came in with VS2015. Sorry for any confusion. ----- Original Message ----- @PhilipOakley I didn't see anything in this issue to suggest the OP was trying to build Git for Windows using VS. All I read is that they're trying to use devenv to build a (any) solution, which is what lead to my comment. Nowhere is building Git for Windows mentioned, just that winpty doesn't seem to show devenv output. So if this post is really about building Git for Windows using VS, then my comment is not applicable and I am actually eagerly awaiting the ability to do just that! I apologize for any confusion. — |
@PhilipOakley Lol, I think we both got our wires crossed here. I had no idea this issue was specifically about building Git and/or Git for Windows with For more information, my colleagues and I build a C#-based solution using |
No I am only trying to build any solution. I just can't get the output to display with winpty or without. The build appears to run as normal there is just no output displayed. |
Well, my colleague wrote the following git alias script to build a VS solution from git-bash using MSBuild, so hopefully you will find this helpful:
In order for this to work, make sure HTH. |
@fourpastmidnight This is pretty cool and does indeed print output. Do you know what the difference is between msbuild and devenv? I am pretty sure devenv uses visual studio to build I don't know anything about msbuild. The problem is that devenv succeeds in building while msbuild has errors and fails. Obviously something is different about the two and at the moment msbuild probably won't work for me but I will keep that solution in mind for future projects. |
So I decided to google what people using cygwin do to get output from devenv. The problem apparently was that devenv.exe does not produce stdin/stdout stuff. If I use devenv.com everything works perfectly even without winpty. Thanks for all your help guys. Here is a link to the solution I found: http://stackoverflow.com/questions/1046660/how-to-build-a-visual-studio-9-0-solution-from-cygwin-and-get-build-output Not sure how to force git-bash to prioritize .com over .exe. Seems like this is the default in windows and maybe git-bash should do the same thing. |
@zolem Glad you found a solution! So, |
@zolem In the meantime, adding |
Uh oh!
There was an error while loading. Please reload this page.
or closed issue
matching what I'm seeing
Setup
defaults?
Details
Which terminal/shell are you running Git from? e.g Bash/CMD/PowerShell/other
I am using git-bash inside conemu normally. This also happens in just default git-bash.exe though.
What commands did you run to trigger this issue?
I also tried with winpty because I assumed that Mintty just could not read the information.
I was expecting to see the output of the build. I can see the output just fine in cmd.exe and git-cmd.exe.
Nothing is printed to the screen
The text was updated successfully, but these errors were encountered: