Skip to content

Do not chdir to / in daemon mode#17

Open
quinot wants to merge 2 commits intoandrewshadura:mainfrom
quinot:main
Open

Do not chdir to / in daemon mode#17
quinot wants to merge 2 commits intoandrewshadura:mainfrom
quinot:main

Conversation

@quinot
Copy link
Copy Markdown

@quinot quinot commented Apr 14, 2026

Why

inputplug was behaving differently and in a confusing way when run in foreground (-n) vs daemon mode:

  • in foreground mode, command would be executed from the current directory
  • in daemon mode, command would be executed from /
    so a command with a relative path would work in foreground mode, but (silently) fail in daemon mode.

How

Pass false as nochdir parameter to daemon call in order to not chdir to /.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant