[plugin cli] Wrap arguments in quotes to preserve whitespace (#9123)

Backports PR #8945

**Commit 1:**
[plugin cli] Wrap arguments in quotes to preserve whitespace

* Original sha: 18d6e921ef
* Authored by Jonathan Budzenski <jon@jbudz.me> on 2016-11-02T17:28:49Z
This commit is contained in:
jasper 2016-11-17 11:48:50 -05:00 committed by Jonathan Budzenski
parent 28c433fe2c
commit 2ecb140fa1

View file

@ -21,4 +21,4 @@ if [ ! -x "$NODE" ]; then
exit 1
fi
exec "${NODE}" $NODE_OPTIONS --no-warnings "${DIR}/src/cli_plugin" ${@}
exec "${NODE}" $NODE_OPTIONS --no-warnings "${DIR}/src/cli_plugin" "$@"