Update API docs for recent change to spawn

Signed-off-by: Uli Schlachter <psychon@znc.in>
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Uli Schlachter 2010-04-24 17:52:52 +02:00 committed by Julien Danjou
parent ad5d160c6c
commit 6cb7d27860
2 changed files with 2 additions and 2 deletions

View File

@ -34,7 +34,7 @@ module("awesome")
-- @param cmd The command to launch. -- @param cmd The command to launch.
-- @param use_sn Use startup-notification, true or false, default to true. -- @param use_sn Use startup-notification, true or false, default to true.
-- @param screen Optional screen number to spawn the command on. -- @param screen Optional screen number to spawn the command on.
-- @return Nothing is everything is OK, or an error string if an error occured. -- @return Process ID if everything is OK, or an error string if an error occured.
--- Add a global signal. --- Add a global signal.
-- @param name A string with the event name. -- @param name A string with the event name.

View File

@ -287,7 +287,7 @@ spawn_command(const gchar *command_line, GError **error)
* \lparam The command to launch. * \lparam The command to launch.
* \lparam Use startup-notification, true or false, default to true. * \lparam Use startup-notification, true or false, default to true.
* \lparam The optional screen number to spawn the command on. * \lparam The optional screen number to spawn the command on.
* \lreturn Nothing if launch was successful, an error string otherwise. * \lreturn Process ID if everything is OK, or an error string if an error occured.
*/ */
int int
luaA_spawn(lua_State *L) luaA_spawn(lua_State *L)