From 47b42a9d083a19c38e3c4b13a72c8e317a58db05 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Tue, 25 Aug 2020 20:22:06 -0400 Subject: [PATCH] Don't exec postscript #3746 Doesn't seem to persist exported environment variables (like __DOOMPOST) in some windows environments. --- bin/doom | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/doom b/bin/doom index c626f0222..d38861a18 100755 --- a/bin/doom +++ b/bin/doom @@ -4,7 +4,7 @@ :; export __DOOMPOST="${TMPDIR:-/tmp}/doom.sh" :; $EMACS --version >/dev/null 2>&1 || { >&2 echo "Can't find emacs in your PATH"; exit 1; } :; $EMACS --no-site-file --script "$0" -- "$@" || __DOOMCODE=$? -:; [ "${__DOOMCODE:-0}" -eq 128 ] && exec "$__DOOMPOST" "$0" "$@" +:; [ "${__DOOMCODE:-0}" -eq 128 ] && { "$__DOOMPOST" "$0" "$@" && true; __DOOMCODE=$?; } :; exit $__DOOMCODE ;; The garbage collector isn't important during CLI ops. A higher threshold