diff --git a/terminal.py b/terminal.py index 44548ff0809..78cc47a398c 100644 --- a/terminal.py +++ b/terminal.py @@ -322,9 +322,9 @@ class TerminalController(BaseController): self.queue = cmds_with_params.split("/") -def terminal(jobs_cmds: List[str] = None): +def terminal(jobs_cmds: List[str] = None, appName: str = "gst"): """Terminal Menu""" - setup_logging("gst") + setup_logging(appName) logger.info("START") logger.info("Python: %s", platform.python_version()) logger.info("OS: %s", platform.system()) @@ -527,14 +527,14 @@ def run_scripts( file_cmds = [" ".join(file_cmds)] if not test_mode: - terminal(file_cmds) + terminal(file_cmds, appName="gst_script") # TODO: Add way to track how many commands are tested else: if verbose: - terminal(file_cmds) + terminal(file_cmds, appName="gst_script") else: with suppress_stdout(): - terminal(file_cmds) + terminal(file_cmds, appName="gst_script") else: console.print(f"File '{path}' doesn't exist. Launching base terminal.\n") if not test_mode: