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
This commit is contained in:
Todd Gamblin 2020-03-29 19:38:15 -07:00 committed by GitHub
parent 757d768a07
commit 3310eaab99
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -22,4 +22,4 @@
#
# This is compatible across platforms.
#
/usr/bin/env spack python "$@"
exec /usr/bin/env spack python "$@"