Add settings as environment variables
This commit is contained in:
parent
b72d05f329
commit
b0c9ab111c
4
run.py
4
run.py
@ -50,7 +50,7 @@ def checks(termsize, settings):
|
||||
while run:
|
||||
_separator(termsize)
|
||||
print("Running '%s'" % (check))
|
||||
with subprocess.Popen(["checks/%s" % check]) as process:
|
||||
with subprocess.Popen(["checks/%s" % check], env=settings) as process:
|
||||
# Wait for process termination
|
||||
process.wait()
|
||||
if process.returncode > 0:
|
||||
@ -80,7 +80,7 @@ def flavours(termsize, settings):
|
||||
run = True
|
||||
while run:
|
||||
_separator(termsize)
|
||||
with subprocess.Popen(["flavours/%s/install.sh" % flavour]) as process:
|
||||
with subprocess.Popen(["flavours/%s/install.sh" % flavour], env=settings) as process:
|
||||
# Wait for process termination
|
||||
process.wait()
|
||||
if process.returncode > 0:
|
||||
|
Loading…
Reference in New Issue
Block a user