Re: warning: menu-command-not-in-package
Justin Pryzby wrote:
> On Mon, Dec 13, 2004 at 02:32:47PM -0800, Matt Brubeck wrote:
> > Justin Pryzby wrote:
> > > #!/bin/sh -e
> > > exec x-terminal-emulator -e /usr/lib/yadex/...
> > One small downside to this idea is that it is not the expected behavior
> > for a user who already has an xterm open and types 'yadex' into it.
> Nope, it will work as expected; exec will exec the just-run bash
> process, not the user's xterm's bash.
What I meant is that it will start an additional x-terminal-emulator,
instead of running yadex in the existing xterm.
As someone already noted, this can be fixed easily by checking whether
the wrapper's input is a tty.