I try to build a dynamic menu to show
running fvwm modules.
DestroyMenu ModulePopup
AddToMenu ModulePopup
+ DynamicPopDownAction DestroyMenu ModuleList
+ MissingSubmenuFunction funcModuleList
+ "KillModule" Popup ModuleList
DestroyFunc funcModuleList
AddToFunc funcModuleList
+ I PipeRead `ps x|grep Fvwm|sed -e
"s/\\(.*\\)\\/\\(Fvwm[a-zA-Z]\\+\\).*/AddToMenu ModuleList \\2 KillModule
\\2/"|sort|uniq`
However, the PipeRead command stream is rendered as:
``28876 ? R 0:00 sh -c ps x|grep Fvwm|sed -e
"s/\(.*\)\/\(Fvwm[a-zA-Z]\+\).*/AddToMenu ModuleList \2 KillModule
\2/"|sort|uniq"
And this causes an error message:
[FVWM][__execute_function]: <<ERROR>> No such command '28876'
Any idea how to fix this? Thank you!
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Sun May 16 2004 - 16:12:22 BST