Skip to content

[launch_manager] Honor deployment_config.working_dir as the spawned process cwd #343

Description

@eduard-moskalchuk

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

Metadata

Metadata

Labels

No labels
No labels

Type

Projects

Status
In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions