Skip to content

App doesn't inherit shell environment #1796

Closed

Description

@joshaber

The app doesn't inherit the shell environment. This causes some problems:

Atom does some stuff to try to fix this. We should look into that.

Activity

  1. added
    help wanted
    on May 26, 2017
  2. added this to the M5: Post-Beta Bougie milestone on May 26, 2017
  3. self-assigned this
    on May 29, 2017
  4. removed
    help wanted
    on May 30, 2017
  5. jjacode commented on Jun 15, 2018

    @jjacode

    So what happened with this? It seems like it is still an issue. 2018-06-15

  6. cmer commented on Jun 15, 2018

    @cmer

    @jjacode I managed to fix issues similar to this for all my GUI apps by modifying /etc/paths (macOS).

    Some more complex things won't work, but this fixes anything path-related.

    Here's what mine looks like:

    /Users/carl/bin
    /Users/carl/.rbenv/shims
    /Users/carl/.rbenv/bin
    /usr/local/bin
    /usr/bin
    /bin
    /usr/sbin
    /sbin
    
  7. shiftkey commented on Jun 16, 2018

    @shiftkey
    Member

    @jjacode #1815 should have resolved it. If you think you've stumbled upon something else feel free to open a fresh issue so we can understand what's happening.

  8. captDaylight commented on Jun 26, 2018

    @captDaylight

    I just installed the github app yesterday and I'm getting

    Commit failed - exit code 128 received, with output: 'fatal: cannot run gpg: No such file or directory
    error: gpg failed to sign the data
    fatal: failed to write commit object'
    

    Does this have to do with this issue?

  9. eluchsinger commented on Jun 27, 2018

    @eluchsinger

    Same here... gpg error.

  10. shiftkey commented on Jun 27, 2018

    @shiftkey
    Member

    @eluchsinger @captDaylight if you'd like to provide some additional diagnostics related to #1815 you can run through these steps and see if your environment variables are setup correctly:

    • Open View | Toggle Developer Tools
    • In the Console tab, enter process.env.PATH to see what it's currently set to

    That matches up with what's available in my shell, which is the intent of #1815. If they're different, let's figure out why by opening a fresh issue.

  11. locked as resolved and limited conversation to collaborators on Aug 26, 2018
  12. unlocked this conversation on Sep 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions