Missing command argument
This commit is contained in:
parent
c40fbdc3d7
commit
0dfd436738
|
@ -65,10 +65,8 @@ ret.execute_command = function(command, arg)
|
||||||
|
|
||||||
elseif start_server_command then
|
elseif start_server_command then
|
||||||
-- Start the server and re-exec the command
|
-- Start the server and re-exec the command
|
||||||
awful.spawn.easy_async({'music-server', command, arg}, function(stdout, stderr, reason, code)
|
awful.spawn.easy_async({'music-server', 'command', command, arg}, function(stdout, stderr, reason, code)
|
||||||
|
|
||||||
end)
|
end)
|
||||||
os.execute('music-server&')
|
|
||||||
else
|
else
|
||||||
set_text('music-server not running')
|
set_text('music-server not running')
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue