stretchly icon indicating copy to clipboard operation
stretchly copied to clipboard

[Bug]: Stretchly closes with cmd when launching from batch script

Open norimicry opened this issue 2 years ago • 2 comments

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

  1. 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

norimicry avatar Aug 22 '22 17:08 norimicry

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.

hovancik avatar Dec 19 '22 14:12 hovancik

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

hovancik avatar Apr 11 '23 07:04 hovancik