I tried nohup "sbt run" &
returns: nohup: failed to run command ‘sbt run’: No such file or directory
and tried:
nohup sbt run &
[2] 7897
# nohup: ignoring input and appending output to ‘nohup.out’
When I return to the carriage, waiting for the continuation of work, I get:
[2]+ Stopped nohup sbt run
How to start sbt as a daemon?
Update:
sbt run </dev/null &
[5] 8961
I think cd to one directory:
# cd ..
[5]+ Stopped sbt run < /dev/null (wd: /home/sum)
(wd now: /home)
So, it starts as a daemon, but if I perform any actions, such as changing the dir, does it kill the process? How to save work?
source
share