SUMMARY: olwm / olvwm doing two commands from one menu item

From: Christopher L. Barnard (
Date: Tue Jul 13 1999 - 13:27:05 CDT

I originally asked:
> Is there a way in olwm / olvwm to have one menu option do TWO things,
> one after another? The man page doesn't mention it. Upon exit, I want
> this box to run my own script, then the window manager internal "EXIT"
> (I want to have that confirmation "are you sure"). I've tried putting
> the two commands in my .openwin-menu file separated by a comma and by a
> space, but it just ignores the second command. I don't think that it
> matters, but this is Solaris 2.5.1. Thanks much.

(I meant semicolon, not comma, by the way)

Short answer from Sun: It cannot be done. If the command is not an
olwm / olvwm internal, it is passed to /bin/sh to be processed. /bin/sh
cannot deal with a window manager internal command like EXIT. Thanks
to Bruce Zimmer for some ideas to try, though.

| Christopher L. Barnard O When I was a boy I was told that |
| / \ anybody could become president. |
| (312) 347-4901 O---O Now I'm beginning to believe it. |
| --Clarence Darrow |
+----------PGP public key available via finger or PGP keyserver---------+

This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:13:23 CDT