Verified Commit 802d5740 authored by Peterson, Peter's avatar Peterson, Peter
Browse files

Call main mantidworkbench with a named environment

parent 2c370e34
Loading
Loading
Loading
Loading
+2 −9
Original line number Diff line number Diff line
#!/bin/bash
# import library to do the real work
# shellcheck disable=SC1091
. "$(dirname "$(realpath "$0")")/nsd-app-wrap.sh" ||
    . /bin/nsd-app-wrap.sh

# put together arguments - conda_env, application, argv
# call the main mantidworkbench with an environment
PIXI_ENV="mantid_dev"
args=("${PIXI_ENV}" "mantidworkbench" "$@")
# launch the tool
pixi_launch "${args[@]}"
"$(dirname "$(realpath "$0")")/mantidworkbench" --env "${PIXI_ENV}"
+2 −9
Original line number Diff line number Diff line
#!/bin/bash
# import library to do the real work
# shellcheck disable=SC1091
. "$(dirname "$(realpath "$0")")/nsd-app-wrap.sh" ||
    . /bin/nsd-app-wrap.sh

# put together arguments - conda_env, application, argv
# call the main mantidworkbench with an environment
PIXI_ENV="mantid_qa"
args=("${PIXI_ENV}" "mantidworkbench" "$@")
# launch the tool
pixi_launch "${args[@]}"
"$(dirname "$(realpath "$0")")/mantidworkbench" --env "${PIXI_ENV}"