diff options
author | Florrie <towerofnix@gmail.com> | 2017-11-09 00:21:45 -0400 |
---|---|---|
committer | Florrie <towerofnix@gmail.com> | 2017-11-09 00:22:06 -0400 |
commit | 56c969110143652410c48785118ab2a2c1d3519e (patch) | |
tree | 514d2b3d50d72455713beffff661c9094a7e8db8 /src/loop-play.js | |
parent | 69383a7c1ff7240e664c6af97f84cc7e44050f42 (diff) |
Let keybindings run shell commands, if --trust option is given
Keybinding action format: [[..combo..], 'runShellCommand', ..command name.., [..arguments..]] (--trust is an alias for --trust-shell-commands. When --trust appears in an "options" property of a playlist (or anywhere besides the `http-music play` invocation on the command line, shell command permisisons are *revoked* - they cannot be enabled, even by directly passing --trust to the command line.) Also adds a note to todo.txt.
Diffstat (limited to 'src/loop-play.js')
-rw-r--r-- | src/loop-play.js | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/loop-play.js b/src/loop-play.js index 09b3cad..34ac4d5 100644 --- a/src/loop-play.js +++ b/src/loop-play.js @@ -11,7 +11,6 @@ const { spawn } = require('child_process') const FIFO = require('fifo-js') const EventEmitter = require('events') -const promisifyProcess = require('./promisify-process') const killProcess = require('./kill-process') const { HistoryController, generalPicker } = require('./pickers') |