The Computer Oracle

Unpause application in Mac OS X

--------------------------------------------------
Hire the world's top talent on demand or became one of them at Toptal: https://topt.al/25cXVn
--------------------------------------------------

Music by Eric Matyas
https://www.soundimage.org
Track title: Puzzle Meditation

--

Chapters
00:00 Unpause Application In Mac Os X
00:31 Accepted Answer Score 39
00:52 Answer 2 Score 9
01:21 Thank you

--

Full question
https://superuser.com/questions/118190/u...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#macos #mac #process #virtualmemory

#avk47



ACCEPTED ANSWER

Score 39


Find your paused app's process ID (using either Activity Monitor or ps -ax | grep ), then issue it the CONT signal using "kill" in the terminal (don't worry, "kill" is misnamed, it just sends a signal to an app - it's called kill because the default signal is QUIT)

% ps -ax | grep Safari
  461 ??        61:22.30 /Applications/Safari.app/Contents/MacOS/Safari -psn_0_180268
% kill -CONT 461
% 



ANSWER 2

Score 9


To un-pause all applications, run this command in Terminal:

pkill -CONT -u $UID

or (as suggested here):

kill -CONT -1

To un-pause the specific app (such as Chrome), try:

kill -CONT $(pgrep Chrome)

Consider adding the following alias into your rc files (such as ~/.bashrc):

alias unpause="pkill -CONT -u $UID"

So next time you may just run: unpause.