diff options
author | Basil L. Contovounesios <contovob@tcd.ie> | 2017-01-04 19:29:55 +0000 |
---|---|---|
committer | Basil L. Contovounesios <contovob@tcd.ie> | 2017-01-04 19:29:55 +0000 |
commit | 02b990c134eef159ff051e7297a232fe0cff8ec4 (patch) | |
tree | a0b9e7e211356c2a06ae73ec79656b0d1a535da6 /README.rst | |
parent | c363af85f341cc878d6c0be53fd32efa8ca9423b (diff) |
Refactor notify-send invocation and shell quoting
* Replace carriage returns with newline characters in multi-line
notifications.
D-Bus (via the notifications library) throws an error on input
containing carriage returns, and notify-send seems to silently
ignore anything past them.
* Split the notify-send executable and its switches into separate
configuration variables.
* Concatenate the executable and all its arguments before passing
them to call-process-shell-command, as per the function's
preferred calling convention.
Diffstat (limited to 'README.rst')
0 files changed, 0 insertions, 0 deletions