Re: Auto shutdown

Will Godfrey <[email protected]>
Newsgroups gmane.comp.audio.rosegarden.user
Message-ID <20220902104333.1fe38ff2@devuan>
On Tue, 26 Jul 2022 23:18:12 -0400
Ted Felix <ted-Ll1PANez7xxWk0Htik3J/[email protected]> wrote:

>   The standard way is to kill the process.  This doesn't actually kill 
>the process.  It sends a SIGTERM (15) which politely asks the process to 
>close.
>
>   I have no idea how well rosegarden handles SIGTERM.  But you can try 
>it and open a bug report if you don't like the results.
>
>Ted.
>
>On 7/25/22 4:00 PM, Will Godfrey wrote:
>> Is there any way to externally tell Rosegarden to close files and cleanly shut
>> down?
>>   
Took a while to get round to this - sorry.

	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.

-- 
Will J Godfrey {apparently now an 'elderly'}
https://willgodfrey.bandcamp.com/
http://yoshimi.github.io
Say you have a poem and I have a tune.
Exchange them and we can both have a poem, a tune, and a song.
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.