You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix false exit-code-1 in terminal and improve error handling
main.js:
- Remove pre-flight sendProcessError check that was firing code 1 before
any process started (fs.existsSync check could fail on Windows even when
file exists, e.g. case sensitivity or path format issues)
- Add _userStopped flag so Stop button on Windows (which kills with exit
code 1) is reported as null (stopped) not an error in the renderer
- Apply _userStopped to both pty and pipe-mode close/exit handlers
Python scripts (downloader, extract_caption, semantic_alignment, note_generation):
- Wrap main() call in broad try/except to catch all unhandled runtime
exceptions, print a clear [error] message + traceback, and exit 1
(instead of bare Python traceback with no context)
- KeyboardInterrupt exits cleanly with code 0
0 commit comments