Skip to content

Fork OSX doesn't load environment variables. #2146

@IcemarkUK

Description

@IcemarkUK

I have an Android Studio project.

The repos I am using has a pre commit hook that runs a gradle command.

When I commit through Fork it fails because JAVA_HOME is not set and therefore picking up the incorrect java version, and no environment variables are not set.

My Fork terminal client is set to terminal, and I can see the correct JAVA_HOME and environment variables if I run a terminal. It seems that Fork is not picking them up.

If I open a terminal and then run open -a "Fork" then it works fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions