Skip to content

How to cd to some directory #18

@bessarabov

Description

@bessarabov

I need to change the directory before executing script. I've found a solution, but I'm not sure that it is the best way to do it.

{
    "scripts": [
        {
            "command": "/bin/sh",
            "args": [
                "-c",
                "cd /Users/bessarabov/Desktop; pwd"
            ]
        }
    ]
}

Maybe you can recommend something?

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