From 88284d35fd2475b67057113a75b493ad739a0053 Mon Sep 17 00:00:00 2001 From: Isaac Levy Date: Wed, 30 Nov 2022 13:24:59 -0500 Subject: [PATCH] Start command with space to avoid history. --- thonny/terminal.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/thonny/terminal.py b/thonny/terminal.py index 4a6307f2d..c3e641eb7 100644 --- a/thonny/terminal.py +++ b/thonny/terminal.py @@ -130,7 +130,7 @@ def _run_in_terminal_in_macos(cmd, cwd, env_overrides, keep_open): common_prefix = os.path.normpath(sys.prefix).rstrip("/") cmds = ( - "export THOPR=" + common_prefix + " ; " + cmds.replace(common_prefix + "/", "$THOPR" + "/") + " export THOPR=" + common_prefix + " ; " + cmds.replace(common_prefix + "/", "$THOPR" + "/") ) print(cmds)