← Back to team overview

ubuntu-appstore-developers team mailing list archive

Re: Uninstalling apps: is app currently running?

 

On Thu, 2013-09-05 at 16:26 +0100, Colin Watson wrote:

> On Thu, Sep 05, 2013 at 09:58:32AM -0500, Ted Gould wrote:
> > For just prototyping something up there are a set of tools in
> > upstart-app-launch-tools that can be nicely used with shell scripts.
> > Assuming you have that installed you can do something like:
> > 
> > 
> >         $ upstart-app-launch gedit
> >         $ upstart-app-list 
> >         gedit
> >         $ upstart-app-pid gedit
> >         31940
> 
> Great, thanks.  That's nice.  Looks like we aren't yet launching apps
> this way from Unity; do you know when that's due to happen?



Unity will switch with the transition to Mir, which adds a lot more
application management functionality.  The last "when" I heard was end
of August.  If you want, there are PPAs that can switch your device over
to that build.  Though they didn't work on my Galaxy Nexus last I tried.


> > In the non-prototyping stage you can use libupstart-app-launch which has
> > similar functions in it.  I wasn't planning on the tools package being
> > installed on an image or anything else, it was more to facilitate people
> > working on the system.  I guess there's no reason they couldn't, but
> > they'd probably need to be made more robust and have man pages then.
> 
> click is still in Python; I plan to rewrite it in C for 14.04, I think,
> but for 13.10 I'm a bit too dependent on rapid prototyping.  I guess
> that would mean I'd need either upstart-app-launch-tools or Python
> bindings to libupstart-app-launch.
> 
> FWIW I think it'd be really handy to have upstart-app-launch-tools in
> the image; it'd be great for the situations when you're trying to debug
> what's wrong on somebody else's device.


I'm flexible going any way there.  We're probably a little ahead of
ourselves in deciding, but all those options seem reasonable, we just
need to decide where to invest the time to get what we need.  Which we
probably won't know until out of the prototyping phase a bit.

Ted

Attachment: signature.asc
Description: This is a digitally signed message part


Follow ups

References