zke1e
V2EX  ›  macOS

macos gui 程序设置环境变量

  •  
  •   zke1e · Aug 9, 2017 · 3270 views
    This topic created in 3198 days ago, the information mentioned may be changed or developed.

    现在有个程序需要设置了某个环境变量才能正常运行,但是直接双击图标启动是无法读取环境变量的,只有从命令行运行脚本可以,哪位大佬有遇到过这样的问题吗?

    1 replies    2017-08-11 19:54:30 +08:00
    GGemini
        1
    GGemini  
       Aug 11, 2017
    老问题了,不好解决。可以参考 stackoverflow 给的一些方法: https://stackoverflow.com/questions/603785/environment-variables-in-mac-os-x
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   4071 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 39ms · UTC 00:52 · PVG 08:52 · LAX 17:52 · JFK 20:52
    ♥ Do have faith in what you're doing.