Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

When I launch anything that uses Java, i.e., command lines beginning with java, javac, jar, mvn, etc., from cmd, I see the output in the same window. When I launch them from msysgit's bash shell on my office machine, a new cmd window appears containing the output, which then disappears afterwards so I don't get chance to read the final lines.

In contrast, on my home PC, this doesn't happen; the output appears in the shell I start Java from, whether that's msysgit or cmd.

How can I prevent this new window from opening, or can you explain why it appears?

share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.