summaryrefslogtreecommitdiff
path: root/home/xyz/.local/bin/matlab
diff options
context:
space:
mode:
authorxyz <gky44px1999@gmail.com>2022-10-03 17:55:10 -0700
committerxyz <gky44px1999@gmail.com>2022-10-03 17:55:10 -0700
commit6fc576670c8c5a5b35f58b818b2c73798abf9b66 (patch)
tree8a799101444a1303052d0405c4776c9d9a6367e6 /home/xyz/.local/bin/matlab
parentcf1c7cc24a0596e90a4b8dee8adf81d3802555e7 (diff)
use exec
Diffstat (limited to 'home/xyz/.local/bin/matlab')
-rwxr-xr-xhome/xyz/.local/bin/matlab2
1 files changed, 1 insertions, 1 deletions
diff --git a/home/xyz/.local/bin/matlab b/home/xyz/.local/bin/matlab
index 6f39d4ed..5d1bf053 100755
--- a/home/xyz/.local/bin/matlab
+++ b/home/xyz/.local/bin/matlab
@@ -9,7 +9,7 @@
# https://bbs.archlinux.org/viewtopic.php?id=277970
cmd () {
- _JAVA_AWT_WM_NONREPARENTING=1 LD_PRELOAD=/lib64/libfreetype.so "$bin_dir/matlab" -sd "$startup_dir" -desktop -nosplash "$@"
+ _JAVA_AWT_WM_NONREPARENTING=1 LD_PRELOAD=/lib64/libfreetype.so exec "$bin_dir/matlab" -sd "$startup_dir" -desktop -nosplash "$@"
}
startup_dir=/tmp/matlab