Skip to content

Commit

Permalink
Use the same Python for --open option (#528)
Browse files Browse the repository at this point in the history
  • Loading branch information
gaogaotiantian authored Dec 3, 2024
1 parent 2ed22b5 commit 0cf7694
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/viztracer/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -676,7 +676,7 @@ def exit_routine(self) -> None:
self.save()
if self.options.open: # pragma: no cover
import subprocess
subprocess.run(["vizviewer", "--once", os.path.abspath(self.ofile)])
subprocess.run([sys.executable, "-m", "viztracer.viewer", "--once", os.path.abspath(self.ofile)])


def main():
Expand Down

0 comments on commit 0cf7694

Please sign in to comment.