What
The Launch Manager never applies a component's configured working_dir. The child process cwd is hard-coded to the executable's directory in changeCurrentWorkingDirectory() (chdir(dirname(executable_path))), and the working_dir value is dropped entirely on the way to the daemon.
As a result, applications that access files relative to their cwd (e.g. ./etc/file.txt) fail, because the cwd was <bin_dir> instead of the configured working_dir.
Acceptance Criteria (DoD)
Working directory specified in the deployment config is applied.
How
No response
What
The Launch Manager never applies a component's configured working_dir. The child process cwd is hard-coded to the executable's directory in changeCurrentWorkingDirectory() (chdir(dirname(executable_path))), and the working_dir value is dropped entirely on the way to the daemon.
As a result, applications that access files relative to their cwd (e.g. ./etc/file.txt) fail, because the cwd was <bin_dir> instead of the configured working_dir.
Acceptance Criteria (DoD)
Working directory specified in the deployment config is applied.
How
No response