diff --git a/lxc/execute b/lxc/execute index d7e5b22..824b578 100755 --- a/lxc/execute +++ b/lxc/execute @@ -22,7 +22,7 @@ mkdir -p $basepath/tmp/$epoch chmod 777 $basepath/tmp/$epoch cat $2 > $basepath$filepath echo $3 > $basepath$stdinpath -echo "${@:4}" > $basepath$argpath +echo -n "${@:4}" > $basepath$argpath # process incrementor exec 200>$dir/lockfile diff --git a/lxc/executors/emacs b/lxc/executors/emacs index bf586e4..ab41624 100755 --- a/lxc/executors/emacs +++ b/lxc/executors/emacs @@ -1,8 +1,4 @@ #!/bin/bash cd /tmp/$2 -if [[ -z $(grep '[^[:space:]]' args.args) ]]; then - timeout -s KILL 3 emacs -Q --script code.code < stdin.stdin -else - timeout -s KILL 3 xargs -a args.args -d '\n' emacs -Q --script code.code < stdin.stdin -fi +timeout -s KILL 3 xargs -a args.args -d '\n' emacs -Q --script code.code < stdin.stdin