The first time in months I can answer a question here, and Dan is
quicker... ;-)
Dan Espen writes:
> Tobias Werth <sitowert_at_informatik.stud.uni-erlangen.de> writes:
>> Hi,
>>
>> in my .fvwm2rc I have inserted an Init Function as follows:
>>
>> AddToFunc InitFunction
>> + I Exec exec ssh-add < /dev/null
>> + I Exec exec $HOME/bin/email-notify
>>
>>
>> Both programs grab for the keyboard with ssh-askpass and one of it fails.
>> Can I give some option to the Init Function, so that the commands are process
>> ed sequentially?
> Exec exec sh -c 'ssh-add < /dev/null;$HOME/bin/email-notify'
Isn't it a bit overkill to let fvwm start a shell, just to exec sh?
I have something similar to
Exec ssh-add < /dev/null;$HOME/bin/email-notify
in my .fvwmrc and it works perfectly (with different commands, but
still requiring execution in one shell).
By the way, I thought the double-exec was obsolete for years, but the
manpage of my fvwm still mentions it. So, what is the current status?
Rainer
PS: Tobias, the mail to you was meant for the list, sorry.
PPS: Dan, the mail for you was meant for the list, too. I should
really look at the header more carefully...
--
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 03 2003 - 12:21:18 GMT