[英]Hide Clojure REPL from command-tab application switcher via lein, command line, or emacs
When starting a clojure app via lein on osx, the java coffee cup icon shows in the dock/app switcher. 在OSX上通过lein启动Clojure应用程序时,Dock / App切换器中会显示Java咖啡杯图标。 How can this be hidden when:
在以下情况下如何将其隐藏:
It all revolves around the environmental variable that gets "-Dapple.awt.UIElement=true" to the running process. 所有这些都围绕着使环境变量“ -Dapple.awt.UIElement = true”进入正在运行的进程。
From the command line, before running the target program: 从命令行,在运行目标程序之前:
`export JVM_OPTS="-Dapple.awt.UIElement=true"`
Same as above, added to your lein project.clj file: 与上述相同,添加到您的lein project.clj文件中:
:jvm-opts ["-Dapple.awt.UIElement=true"]
From emacs, running a REPL via cider. 在emacs中,通过苹果酒运行REPL 。 Add the following to your .emacs file.
将以下内容添加到您的.emacs文件。
(setenv "LEIN_JVM_OPTS" "-Dapple.awt.UIElement=true")
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.