Running Shell in Background

Use the & symbol in your command. This will begin the process and immediately return the command line to you, allowing you to use it for other things.

grunt w &

You can think of it as running the command in the background. The process is still connected to the terminal window, so if you close the window, the process will end.

Use ( &) around your command. This will run in the background the same as just &, however the process will not be killed when you close the terminal window.

(grunt w &)

# Using open process

There are times when trying to run a shell in the background does not work. The process still returns and waits. in those cases try:

## to open the process open process wiki for update ## to close the process close process wiki

# See also

Screen is a full-screen window manager that multiplexes a physical terminal between several processes, typically interactive shells.

Question: how can we run "grunt serve" in the background - npmjs.com