Stefan Avey
Stefan Avey

Reputation: 1188

How can I change a process running inside an emacs *shell* buffer to background

Normally I would use C-z to accomplish this but this will cause emacs itself to go into the background.

Say I have a long program running inside the *shell* buffer of emacs (and I stupidly forgot to place the & at the end of the command), then is there a way to make that process go into the background and get back to the command prompt?

Upvotes: 3

Views: 492

Answers (1)

choroba
choroba

Reputation: 241848

If you use the shell command, you can propagate C-z to it through C-cC-z.

Upvotes: 4

Related Questions