How to make a program run in the background under Windows cmd

Source: Internet
Author: User
Tags jboss jboss server

How to make a program run in the background under Windows CMD.

Hu Dennis, 2008-12-24

Starting the JBoss server under Windows requires you to enter Run.bat on the command line. However, if you want to stop the server after the operation, the possible way is to press CTRL + C to forcibly terminate the server, this is obviously unfriendly.  Another way is to open a CMD window, enter the JBoss Bin directory, and then type Shutdown.bat-s. After all, time-consuming and laborious, if you can like Linux in the back of the command line to add a & let it run in the background, to shut down without opening a window to directly enter the appropriate shutdown command.

The answer is below:

Add start/b, such as Start/b Run.bat, before executing the command. is equivalent to the run.sh & under Linux.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.