[openbox] Using | in ob3 menus
Nagy Mate
k-zed at hactar.net
Sat Mar 26 08:29:39 EST 2005
greetings,
try
sh -c "mpc stats | osd_cat .. etc"
On Sat, Mar 26, 2005 at 01:21:46PM +0000, Dave Foster wrote:
> 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..
> > 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?
regards,
kz
--
we discovered a new way to think.
use pgp :: http://hactar.net/k-zed.key
More information about the openbox
mailing list