On Fri, Jun 21, 2002 at 11:20:56AM +0000, Mikhael Goikhman wrote:
> 
> I am not sure. PipeRead already does exactly this and even more.
> "ExecWait something" is equivalant to "PipeRead `something >/dev/null'"

Funky. How about this as an alternative then?

--- ChangeLog   2002/06/21 05:35:43     1.1847
+++ ChangeLog   2002/06/21 13:48:24
@@ -1,3 +1,8 @@
+2002-06-21  Tony Finch <[EMAIL PROTECTED]>
+
+       * fvwm/fvwm.1:
+       Note that PipeRead can be used as a blocking Exec.
+
 2002-06-21  olicha  <[EMAIL PROTECTED]>
 
        * fvwm/fvwm.1: 
--- fvwm.1      2002/06/21 05:35:44     1.21
+++ fvwm.1      2002/06/21 13:46:01
@@ -8145,6 +8145,13 @@
 Read /tmp/file
 .EE
 do not work reliably.
+Instead, you can use a command like
+.EX
+PipeRead "program args 1>&2"
+.EE
+to run a program and wait for it to finish.
+The redirection causes any output from the program to go to stderr
+instead of being read as a sequence of commands by fvwm.
 
 .TP
 .BI "ExecUseShell [" shell "]"


If you do decide to incorporate ExecWait I don't mind what name you give it.

Tony.
-- 
f.a.n.finch <[EMAIL PROTECTED]> http://dotat.at/
NORTH FITZROY SOLE: SOUTH VEERING SOUTHWEST 4 OR 5, OCCASIONALLY 6 AT FIRST.
RAIN OR SHOWERS. MODERATE OR POOR BECOMING GOOD.
--
Visit the official FVWM web page at <URL:http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm-workers" in the
body of a message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]

Reply via email to