Skip to content

Commit

Permalink
fix: print build output to the terminal
Browse files Browse the repository at this point in the history
  • Loading branch information
sansyrox committed Aug 12, 2023
1 parent 9b2f863 commit 9d056a9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion starfyre/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,13 +81,15 @@ def main(path, build):
create_main_file(str(absolute_path))

# Start/run project
subprocess.run(
result = subprocess.run(
[sys.executable, "-m", "build"],
cwd=path,
stdout=subprocess.PIPE,
stderr=None,
)

print(result.stdout.decode("utf-8"))


if __name__ == "__main__":
main()

0 comments on commit 9d056a9

Please sign in to comment.