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:
Nikos Ntarmos 2009-03-29 21:47:44 +03:00 committed by Julien Danjou
parent 106e6ed5ab
commit b437db6ab0
1 changed files with 1 additions and 1 deletions

View File

@ -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