New answers tagged

3

See C-hv process-environment List of overridden environment variables for subprocesses to inherit. Each element should be a string of the form ENVVARNAME=VALUE. Entries in this list take precedence to those in the frame-local environments. Therefore, let-binding process-environment is an easy way to temporarily change the value of an ...


0

My script didn't work for 2 reasons: conda wasn't in my path conda activate doesn't work in bash scripts out of the box because it relies on bash functions Solution: #!/bin/bash set -e set -o pipefail # otherwise can't find conda export PATH=$HOME/anaconda3/bin:$PATH # either of these will make conda activate work inside a bash script # https://...


Top 50 recent answers are included