View Single Post
Old 01-22-2024, 08:04 PM   #5
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
Quote:
Originally Posted by pazos View Post
I'm not sure about the purpose but you can always patch the runtime to provide an interface over cli and use that to call Device.exit(). See https://github.com/koreader/koreader...tches#overview
I imagine you'd need an RPC àla https://github.com/koreader/koreader/pull/10223 to control an *existing* instance.

Quote:
Originally Posted by bitfreak View Post
Koreader is running as a service
Irrelevant, as process monitoring won't do shit if what's being monitored doesn't care about SIGHUP . (Spoiler: we don't).

(Also wrong on nearly every platform, the only platform which uses a very very very very thin "service" shim is rM, but that's a technicality, as it doesn't do shit besides fire a one-off script that isn't actually KOReader yet).

Last edited by NiLuJe; 01-22-2024 at 08:09 PM.
NiLuJe is offline   Reply With Quote