Skip to content

cwd parameter does not seem to work #48

Description

@arouene

Hello,

From a distrobox fedora container, host-spawn doesn't seem to pass the PWD variable to the child process, I'm not sure why.

$ pwd
/var/home/arouene/Videos

$ host-spawn env | grep PWD
OLDPWD=/var/home/arouene
PWD=/var/home/arouene

$ host-spawn -cwd $(pwd) env | grep PWD
OLDPWD=/var/home/arouene
PWD=/var/home/arouene

getcwd() is working fine though.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions