stretchly
stretchly copied to clipboard
[Bug]: Stretchly closes with cmd when launching from batch script
Version
- [X] I'm using version 1.11.0
Known issues
- [X] I've checked Known issues
Existing issues
- [X] I've checked Existing issues
What operating system are you using?
Windows
Operating System Version
Windows 11 Pro 21H2
Reproduction steps
-
start C:\Users\user\AppData\Local\Programs\Stretchly.exe
in CMD (or batch script)
Reproduces how often: Every time
Expected Behavior
Stretchly should stay open and resume processes
Actual Behavior
Closing CMD stops Stretchly process
Relevant log output
13:09:42.341 > Stretchly: initializing...
13:09:42.349 > Stretchly: loading preferences
13:09:42.364 > Stretchly: starting Idle time monitoring
13:09:42.366 > Stretchly: starting Do Not Disturb monitoring
13:09:42.469 > Stretchly: loading default break ideas
13:09:42.491 > Stretchly: loading default break ideas
Preferences
No response
Additional information
No response
Code of Conduct
- [X] I agree to follow this project's Code of Conduct
I think that is expected. When you run some program in command line and you close that command line, the process is closed as well.
I've tried few solutions mentioned here https://askubuntu.com/questions/106351/running-programs-in-the-background-from-terminal but none seems to work OK with Electron