Srivathsa Rao U <[EMAIL PROTECTED]> writes: > Hi, > I want to read some file which has fvwm commands after some shell command. > This shell command basically to create the fvwm command file. > > Here is the one Eg: > DestroyFunc updatePager > AddToFunc updatePager > + I Exec xterm +sb -geometry 50X30+502+310 -e .fvwm/updatePager > + I Read .FvwmForm-Pager > > 1st command wil create the file .FvwmForm-Pager which has some fvwm > setting & it takes input from user as well > 2nd command to read the cammands inside .FvwmForm-Pager. > > What is happening now : > It executes 1st command & 2nd one doesnot wait it for 1st command to > finish , hense failing. > > Could you pls. help me to resolve it.
You could use FvwmCommand. First start the server: AddToFunc StartFunction I Module FvwmCommandS Then at the end of .fvwm/updatePager, add: FvwmCommand 'Read .FvwmForm-Pager' -- Dan Espen E-mail: [EMAIL PROTECTED] -- 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 [EMAIL PROTECTED] To report problems, send mail to [EMAIL PROTECTED]