[openbox] command contains $ and &
Jonas J Linde
jonas at init.se
Tue Dec 14 01:05:34 EST 2010
Hello!
And y z spoke unto the world. And said:
>1.command contains $
><action name="Execute">
>Â Â Â Â <command>kill $(pidof tint2)</command>
></action>
>do not work
I'd use
<command>sh -c "kill $(pidof tint2)"</command>
in that case.
>2. command contains &
><action name="Execute">
>Â Â Â <command>rdesktop xxx.xxx.xxx.xxx -u administrator -p xxxx&xxxx</
>command>
></action>
And I'd use the same trick for that.
Cheers!
--
Jonas J Linde <jonas at init.se> http://jonas.init.se/ +46-707-492496
<-------------------------------------------------------------------->
GE/IT$ d-(+) s++: a+ C++(++++)$ UBVL++(++++)$ P+++ L+++$ E++ W++(-) N+
o-- K+ !w(+) O M@ V PS+ PE++(-) Y+ PGP+(++) t 5 X R-(+) tv-- b+>++ DI
D++ G+(-) e+++ h---- r++ y++++ UF+
More information about the openbox
mailing list