Srivathsa Rao U <srivathsa_at_india.ti.com> 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: dane_at_mk.telcordia.com
--
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 Wed Dec 10 2003 - 10:37:41 GMT