Is there a way to cause google-chrome to quit, from the terminal, besides using killall google-chrome?
I would like to be able to close it from a script without killing it.
Tell me more
×
Unix & Linux Stack Exchange is a question and answer site for
users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.
|
|
|||||||
|
|
Perhaps
The string |
|||
|
|
try:
This will send a "QUIT" signal to chrome, which, depending on your window manager, will be what it is usually sent when asked to close. |
|||||||||||||||
|