mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-22 13:06:27 +02:00
revert emacs code, omit newline in args file so languages stop seeing a blank arg
This commit is contained in:
parent
9237806dee
commit
6d69a1b189
2 changed files with 2 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue