Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 4 additions & 6 deletions stream.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
#!/usr/bin/env python3
import curses
import sys
import os
from pathlib import Path
import subprocess

Expand All @@ -12,16 +10,16 @@ def main():
if not echo_dir.exists():
print("Deep Tree Echo directory not found. Is Deep Tree Echo running?")
sys.exit(1)

# Launch monitor interface
subprocess.run([
'python3',
'monitor_interface.py'
])
], check=False)

except KeyboardInterrupt:
print("\nStream monitor closed.")
except Exception as e:
except (FileNotFoundError, subprocess.SubprocessError, OSError) as e:
print(f"Error: {str(e)}")
sys.exit(1)

Expand Down
Loading