Re: Auto shutdown

Ted Felix <ted-Ll1PANez7xxWk0Htik3J/[email protected]>
Newsgroups gmane.comp.audio.rosegarden.user
Message-ID <[email protected]>
On 9/2/22 5:43 AM, Will Godfrey wrote:
> 	pidof rosegarden
> followed by
> 	kill nnnn
> seems to give a clean shutdown, even of a running instance. So all I need to do
> now is write a small program to combine those into a single command - might be
> able to do that in python.

   There's already a command, pkill:

   pkill rosegarden

   As for the lock file, that should be ignored since the process ID 
should be different on each invocation.  Unless you are launching rg at 
startup.  That might indeed confuse it.

Ted.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.