swayfx/common
Mikkel Oscar Lyderik 32ae26e519 Add quotes to multiword arguments.
This adds quotes around multiword arguments before they are passed to
`/bin/sh -c` in an exec command.

Example:

I connect to irc like this:

    exec termite -e "mosh server tmux a"

Without this patch the arguments are passed to sh as:

    termite -e mosh server tmux a

When it should be:

    termite -e "mosh server tmux a"

For the command to work.
2016-01-25 00:14:13 +01:00
..
CMakeLists.txt fix backtrace detection in CMake 2015-12-22 00:32:41 +01:00
ipc-client.c Add type to returned response. 2016-01-03 20:40:50 +01:00
list.c swaybar: fix memory leaks 2015-12-22 17:54:47 +01:00
log.c use CMake's FindBacktrace for backtrace feature detection 2015-12-21 19:01:17 +01:00
readline.c Parse command line args for swaymsg 2015-11-26 14:31:29 -05:00
stringop.c Add quotes to multiword arguments. 2016-01-25 00:14:13 +01:00
util.c numlen(0) == 1 2016-01-24 03:02:51 +01:00