Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

You must log in to answer this question.

Browse other questions tagged .