At 1245953624 time_t, Alex Cornejo wrote:
> Any ideas? Namely I wanted to implement a "startup" module for awesome
> which has a list of programs you would like to run when awesome start,
> but only runs them if they are not already running (to avoid problems
> when restarting awesome for example). This is trivially implemented in
> bash, but I wanted to do it in lua.

os.execute("exec pgrep...")

-- 
Julien Danjou
// ᐰ <jul...@danjou.info>   http://julien.danjou.info
// 9A0D 5FD9 EB42 22F6 8974  C95C A462 B51E C2FE E5CD
// This is the end of my signature.

Attachment: signature.asc
Description: Digital signature

Reply via email to