Skip to content

Commit

Permalink
doh
Browse files Browse the repository at this point in the history
  • Loading branch information
elParaguayo committed Sep 23, 2023
1 parent 96f2c4b commit 890075e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion qtile_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,14 @@ def run_ffibuild():
print(f"{sys.executable=}")
print(f"{Path('scripts/ffibuild').is_file()=}")
try:
subprocess.run(
p = subprocess.run(
[sys.executable, "scripts/ffibuild"],
check=True,
env=os.environ | {"PYTHONPATH": python_path},
capture_output=True
)
print(p.stdout)
print(p.stderr)
except subprocess.CalledProcessError as e:
print("Error when running ffibuild:")
print(e.stdout)
Expand Down

0 comments on commit 890075e

Please sign in to comment.