Most appropriate method to persist a sbt process after exiting SSH session?

后端 未结 3 480
鱼传尺愫
鱼传尺愫 2021-01-22 22:59

How do I keep a process, specifically one spawned via the sbt command, alive after exiting my ssh session? The following related questions [1], [2], [3

3条回答
  •  生来不讨喜
    2021-01-22 23:21

    It looks like SBT hanging in the background is a JLine issue. There is a workaround:

    sbt -Djline.terminal=jline.UnsupportedTerminal about &
    

    Just add this flag to any SBT command you want to run in the background.

提交回复
热议问题