Commit dd0595e1 authored by Borreguero Calvo, Jose's avatar Borreguero Calvo, Jose
Browse files

Merge branch 'nr_launcher_source' into 'main'

start the nr_launcher by sourcing a script

See merge request !37
parents 1560dc79 480004c1
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -8,7 +8,7 @@ if [ -v CONDA_ENVIRON ]; then
    source "$(dirname "$(realpath "$0")")/nsd-app-wrap.sh"

    # put together arguments - conda_env, application, location, arguments passed to this script
    args=("${CONDA_ENVIRON}" "cd /SNS/REF_L/shared/launcher/; python launcher.py; cd -" "$@")
    args=("${CONDA_ENVIRON}" "source" "/SNS/REF_L/shared/launcher/nsd_app_wrap_nr_launcher.sh" "$@")

    # start the application
    activate_and_launch "${args[@]}"
+4 −1
Original line number Diff line number Diff line
%global srcname nsd-app-wrap

Name:           nsd-app-wrap
Version:        1.48
Version:        1.49
Release:        1%{?dist}
Summary:        Wrapper scripts to launch python applications installed via anaconda
Vendor:         Peter F. Peterson
@@ -70,6 +70,9 @@ install -m 644 jupyter.local.desktop %{buildroot}%{_datadir}/applications/
%license LICENSE

%changelog
* Sat Aug 19 2023 Jose Borreguero
- start the nr_launcher by sourcing a script

* Fri Aug 18 2023 Jose Borreguero
- cd to the location of the nr_launcher script before launching it