[openbox] command contains $ and &

Knute knuteh at yahoo.com
Mon Dec 13 23:18:13 EST 2010



--- On Mon, 12/13/10, y z <zycjpu at gmail.com> wrote:

From: y z <zycjpu at gmail.com>
Subject: [openbox] command contains $ and &
To: openbox at icculus.org
Date: Monday, December 13, 2010, 10:10 PM

1.command contains $
<action
 name="Execute">
    
  <command>kill $(pidof tint2)</command>

</action>

do not work



<action name="Execute">
    
  <command>kill 6040</command>

</action>
works, pidof tint2 is 6040

Simply write a script that does the lookup and kill and call the script from your action.

HTH,
__
Knute



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://icculus.org/pipermail/openbox/attachments/20101213/3aa4778c/attachment.htm>


More information about the openbox mailing list