exec to avoid extra shell process while ecode runs (#122)

This commit is contained in:
Alexander Meshcheryakov
2025-06-04 05:40:09 +01:00
committed by GitHub
parent 61e2df83db
commit 06bf7e8b7d
2 changed files with 2 additions and 2 deletions

View File

@@ -2,4 +2,4 @@
CANONPATH=$(readlink -f "$0")
DIRPATH="$(dirname "$CANONPATH")"
LD_LIBRARY_PATH="$DIRPATH/libs" "$DIRPATH/ecode.bin" "$@"
LD_LIBRARY_PATH="$DIRPATH/libs" exec "$DIRPATH/ecode.bin" "$@"

View File

@@ -2,4 +2,4 @@
CANONPATH=$(readlink -f "$0")
DIRPATH="$(dirname "$CANONPATH")"
LD_LIBRARY_PATH="$DIRPATH/libs" "$DIRPATH/ecode.bin" "$@"
LD_LIBRARY_PATH="$DIRPATH/libs" exec "$DIRPATH/ecode.bin" "$@"