diff options
Diffstat (limited to 'ilua-wrapper.sh')
-rwxr-xr-x | ilua-wrapper.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ilua-wrapper.sh b/ilua-wrapper.sh new file mode 100755 index 0000000..344de5d --- /dev/null +++ b/ilua-wrapper.sh @@ -0,0 +1,8 @@ +#!/bin/sh +# This wrapper exists, so you can pass additional arguments to Applause when +# using it as an ILua interpreter. +# Also, it's useful as you do not have to change the directory before invoking ILua. +# Thirdly, if you create a symbolic link to lua in a Python environment of ILua, this invoke +# Applause by default and it will even work with Jupyter Notebooks without further tweaks. +cd $(dirname $(readlink -m "$0")) +exec ./applause -o 2 "$@" |