summaryrefslogtreecommitdiff
path: root/src/backend/setprofile.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/setprofile.py')
-rw-r--r--src/backend/setprofile.py6
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()