[openbox] Using | in ob3 menus
Dave Foster
daf at minuslab.net
Sat Mar 26 08:21:46 EST 2005
I'm not sure as to how it actually works, but as an easy solution you
could put those commands inside a shell script somewhere and have OB run
that.
Just guessing, I think OB calls fork/exec on the action itself, and it
doesn't pass it to a shell.. since pipes are really a shell thing, I
wouldn't expect a fork/exec to handle them. Then again, I've forgotten
a lot since that class..
dave
daf at minuslab.net
On Sat, 2005-03-26 at 04:08 -0700, mfitzgib wrote:
> Basically, I'm trying to put this command into my menu:
>
> mpc stats | osd_cat ... etc
>
> I know it runs mpc stats, but it doesn't pipe the output through osd_cat. Do I
> need to do anything special?
>
> Slainte,
> Matthew
More information about the openbox
mailing list