No need for & as capi.awesome.spawn double-forks
Just a minor change: since capi.awesome.spawn does a double fork, there is no need to use a '&' to background the spawned process. Cheers. \n\n From 843d7cc255afb8d07e7c91a3a9d1ed706bc07c88 Mon Sep 17 00:00:00 2001 From: Nikos Ntarmos <ntarmos@cs.uoi.gr> Date: Sun, 29 Mar 2009 21:40:57 +0300 Subject: [PATCH] No need for & as capi.awesome.spawn double-forks Signed-off-by: Nikos Ntarmos <ntarmos@cs.uoi.gr> Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
106e6ed5ab
commit
b437db6ab0
|
@ -64,7 +64,7 @@ end
|
||||||
-- @return The awesome.spawn return value.
|
-- @return The awesome.spawn return value.
|
||||||
function spawn(cmd, screen)
|
function spawn(cmd, screen)
|
||||||
if cmd and cmd ~= "" then
|
if cmd and cmd ~= "" then
|
||||||
return capi.awesome.spawn(cmd .. "&", screen or capi.mouse.screen)
|
return capi.awesome.spawn(cmd, screen or capi.mouse.screen)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue