On Mon, 14 Mar 2011 19:22:26 +0100 Ivan Andrus <darthand...@gmail.com> wrote:
> > Hello, I usually run "sage --notebook" from bashrun (an app > > launcher); the fact is I don't do it from a terminal. > > > > So, how should I quit? I can't find a way from the browser to quit, > > and I have to open a terminal, "htop", and kill one by one the > > processes. > > > > I could of course just launch from a terminal and then Ctrl+C, but > > I'm wondering, shouldn't there be a way to quit from the browser? My > > situation is the one which anyone launching Sage from a desktop > > icon, menu etc. will find himself > > In the Mac App, I do the equivalent of > > kill $(cat ~/.sage/sage_notebook.sagenb/twistd.pid) > > It would be good if this were a command, something like > > sage --kill-notebook > > so that it would be immune to changes in the notebook. There is a > very old trac ticket to implement this: > http://trac.sagemath.org/sage_trac/ticket/2606 > > Maybe I'll do this during Sage Days 29 when I can speak with some of > the notebook people. that would be good :) in the meantime the command you gave is really useful and saves me time, I'll put it in a bash script in my PATH... thanks! cheers renato -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org