Skip to content

[Bug] [Task] The error of using shell task to obtain Home variable in Ubuntu system #14963

@zhuangchong

Description

@zhuangchong

Search before asking

  • I had searched in the issues and found no similar issues.

What happened

The error of using shell task to obtain Home variable in Ubuntu system

What you expected to happen

Get the Home variable normally

How to reproduce

1.Configure DolphinScheduler Worker Server on ubuntu system
2.Add a new shell task, script: echo $HOME
3.Set up a tenant to execute. The print result is not the HOME directory of this tenant.

Anything else

No response

Version

dev

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions