diff options
author | Mike Nolta <mike@nolta.net> | 2015-12-14 15:22:51 -0500 |
---|---|---|
committer | Mike Nolta <mike@nolta.net> | 2015-12-19 16:32:17 -0500 |
commit | 429e15c4a64d29926f1b7a7168c23592e7dec0b7 (patch) | |
tree | 021ea5ed890219d1ded83a45e0eaa92ae5b31625 /share | |
parent | df5dc1c9bb29a56cc1cf6b4bce903b8d4f40b52e (diff) | |
download | spack-429e15c4a64d29926f1b7a7168c23592e7dec0b7.tar.gz spack-429e15c4a64d29926f1b7a7168c23592e7dec0b7.tar.bz2 spack-429e15c4a64d29926f1b7a7168c23592e7dec0b7.tar.xz spack-429e15c4a64d29926f1b7a7168c23592e7dec0b7.zip |
spack python: add -c option
Allows passing program in as a string. Example:
$ spack python -c 'print 2+3'
5
Also imports spack module by default into the environment.
Diffstat (limited to 'share')
0 files changed, 0 insertions, 0 deletions