From d49756c252576993930373ee50f0d0f28dde040c Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Mon, 28 Sep 2009 11:44:19 +0200 Subject: [PATCH] luadoc: add awesome.spawn documentation Signed-off-by: Julien Danjou --- luadoc/awesome.lua | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/luadoc/awesome.lua b/luadoc/awesome.lua index 161d9a24..afceae61 100644 --- a/luadoc/awesome.lua +++ b/luadoc/awesome.lua @@ -30,6 +30,12 @@ module("awesome") -- @name restart -- @class function +--- Spawn a program. +-- @param cmd The command to launch. +-- @param use_sn Use startup-notification, true or false, default to true. +-- @param screen Optional screen number to spawn the command on. +-- @return Nothing is everything is OK, or an error string if an error occured. + --- Add a global signal. -- @param name A string with the event name. -- @param func The function to call.