Why does Neovim behave differently from Geany when launched with nohup and &?
0
votes
0
answers
141
views
When I open Geany I need to launch it with nohup , e.g.
nohup geany test.txt &
so that when I close my shell,
from which I launched it Geany does not get closed. I noticed that this is not the case
with Neovim , simply xdg-open test.txt
is enough (provided that I had run xdg-mime default nvim.desktop text
beforehand). Executing nvim test.txt &
or nohup nvim test.txt &
results in the process being launched but without the editors window even being visible.
**1.** In the situation described above, why go **Geany** and **Neovim** behave differently?
**2.** In the environment where I have access to nvim
binary but have not done yet (or cannot run) something like xdg-mime default nvim.desktop text
or mimeopen -d .txt
, how might I launch nvim
in a new window so that it does not get closed when I close the shell from which I launched it?
P.S. I use Bash.
Asked by John Smith
(827 rep)
Jun 5, 2022, 11:47 AM