V
V
Vitaly2019-07-23 18:58:40
linux
Vitaly, 2019-07-23 18:58:40

How to terminate the process correctly?

How to correctly terminate the firefox background process so that when restarting it, errors like "Firefox did not exit correctly" do not occur?
I'm writing a script in python3, now I'm killing the process like this: Tell me
os.system('pkill -f firefox')
a more elegant solution, please :)

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question