From 3310eaab99e1ceee270a70cac6fe88831d65040a Mon Sep 17 00:00:00 2001
From: Todd Gamblin <tgamblin@llnl.gov>
Date: Sun, 29 Mar 2020 19:38:15 -0700
Subject: [PATCH] spack-python should exec `spack python` (#15738)

The current implementation of `spack-python` will leave an extra shell
around while it runs.  That shell should really replace itself with
spack.

- [x] add exec to spack-python script
---
 bin/spack-python | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/spack-python b/bin/spack-python
index b81c8b7dbb..22141b46d6 100755
--- a/bin/spack-python
+++ b/bin/spack-python
@@ -22,4 +22,4 @@
 #
 # This is compatible across platforms.
 #
-/usr/bin/env spack python "$@"
+exec /usr/bin/env spack python "$@"
-- 
GitLab