diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-06-10 00:12:21 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-06-10 00:12:21 +0100 |
commit | df5e80d63cff8acce2b510e1f2be07a7e1369415 (patch) | |
tree | 85f3127fb5f533719008edc98c97e2bfcb76ac9a /src/backend/setprofile.py | |
parent | c76a29a71d16e9ed512a22945d6e6b77b0d21fb6 (diff) |
branchsetup : new generic module, drop old branchinject, branchmaster && branchnext modules; plug the new module into the new cli client -> works magic
Diffstat (limited to 'src/backend/setprofile.py')
-rw-r--r-- | src/backend/setprofile.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/backend/setprofile.py b/src/backend/setprofile.py index c78269f..8329385 100644 --- a/src/backend/setprofile.py +++ b/src/backend/setprofile.py @@ -5,5 +5,7 @@ import subprocess @animation.wait('setting up hardened profile') def start(): - subprocess.call(['eselect', 'profile', 'set', 'default/linux/amd64/17.0/hardened']) - subprocess.call(['env-update']) + eselectExec = subprocess.Popen(['eselect', 'profile', 'set', 'default/linux/amd64/17.0/hardened']) + eselectExec.wait() + envExec = subprocess.Popen(['env-update'], stdout=subprocess.DEVNULL) + envExec.wait() |