doc: fix type for cmd with easy_async_with_shell (#2531)
It only accepts a string. With a table it will return an error (string): > "spawn: parse error: Non-string argument at table index 3" [ci skip]
This commit is contained in:
parent
a2cd918603
commit
f7c144f365
|
@ -474,7 +474,7 @@ end
|
|||
|
||||
--- Call `spawn.easy_async` with a shell.
|
||||
-- This calls `cmd` with `$SHELL -c` (via `awful.util.shell`).
|
||||
-- @tparam string|table cmd The command.
|
||||
-- @tparam string cmd The command.
|
||||
-- @tab callback Function with the following arguments
|
||||
-- @tparam string callback.stdout Output on stdout.
|
||||
-- @tparam string callback.stderr Output on stderr.
|
||||
|
|
Loading…
Reference in New Issue