FVWM: [HELP]PipeRead Strange Error Message

From: <liushidai_at_mails.tsinghua.edu.cn>
Date: Sun, 16 May 2004 13:07:47 +0800

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

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:56 BST