On 24/06/11 at 12:20am, Connor Lane Smith wrote: > On 24 June 2011 00:13, Jason Ryan <jasonwr...@gmail.com> wrote: > > That's sort of what I was trying to do with a script using pgrep to identify > > tabbed and hitch it to that -- or so I thought... > > It would be easier just to use an XID file (analogous to a PID file): > > $ tabbed -d > /tmp/tabbed.xid > $ vimprobable2 -e `cat /tmp/tabbed.xid` > > You could check the XID exists and if not spawn a new tabbed, and so on. > Superb! Thanks for the pointer: that works nicely.
/J -- Jason Ryan http://jasonwryan.com/