Skip to content
Discussion options

You must be logged in to vote

Current shell is synchronous.

organize/actions/shell.py uses subprocess.run(..., stdout=PIPE, stderr=STDOUT, shell=True), so the action waits for the shell command to finish, and a background child that inherits those pipes can still keep the call open.

So there isn't a built-in detach mode today. The practical workaround is to launch something that fully detaches on your platform, for example a wrapper script that returns immediately, or a command such as nohup cryptomator >/dev/null 2>&1 </dev/null &.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@j-lakeman
Comment options

Answer selected by j-lakeman
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants