Skip to content

Commit

Permalink
Added print statement to start of script to check for sub-processes
Browse files Browse the repository at this point in the history
  • Loading branch information
astrofrog committed Feb 28, 2024
1 parent 2ae7c19 commit 3840e9a
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions start_glue.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
import os
import sys

print("start_glue.py called with arguments", sys.argv)

import time

from pywwt import qt
Expand All @@ -16,7 +19,6 @@
load_plugins()

if __name__ == "__main__":

if "--debug" in sys.argv:
import faulthandler

Expand All @@ -30,16 +32,13 @@
session = None

if session:

ga = GlueApplication.restore_session(session)
ga.app.exec_()

else:

ga = GlueApplication()

if "--test" in sys.argv:

ga.start(block=False)

# Open a few viewers to test
Expand Down

0 comments on commit 3840e9a

Please sign in to comment.