View Single Post
Old 08-07-2013, 12:12 PM   #976
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
@twobob: That works fine for a script, or a command, but, like ixtab said, for an application, it's not really applicable or recommended (eating ALL THE RAM!), especially if the target application is a Kindlet.

Depending on what the target application does, one could potentially try to watch the logs/listen for a specific event to catch its exit and restore the previous state, but that's hackish, potentially unreliable, and out of scope for KUAL.

@nasser: Yeah, I use it extensively in my stuff, but that's because I only launch a quick command, or a very short-term script (a couple of seconds at most) with it.

Last edited by NiLuJe; 08-07-2013 at 01:37 PM.
NiLuJe is offline   Reply With Quote