Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Now what I do is:
$ lein ring server &
Then what I see is: [1]+ Stopped lein ring server. Then I'm trying to use:
$ fg 1
And also see that it's stopped. What do I do wrong and how can I run ring as a background process?
由于 lein 只是启动了一个 Java 进程,因此这个答案当然不适用于 ring/leiningen。
最简单的方法可能是使用以下 Linux/UNIX 实用程序之一(以及更多):