0
0
I open up the WSL Ubuntu Bash, export DISPLAY=:0, and then fire up ./cool-retro-term; this works perfectly, but it by necessity crashes the CRT if I close the bash. Any tips on avoiding this?
0
0
I open up the WSL Ubuntu Bash, export DISPLAY=:0, and then fire up ./cool-retro-term; this works perfectly, but it by necessity crashes the CRT if I close the bash. Any tips on avoiding this?
0
Try nohup ./cool-retro-term &
. That should do the trick. Nohup detaches the target process from the current bash terminal, and makes it immune to crashing when the terminal is closed. Note that I said closed, not Ctrl-C
'ed. That's what the &
is for. It moves the process to the background, so you don't have to worry about accidentally killing the process. After running this command, you can safely close CMD.
Have you tried detaching it? Detaching a running process from a bash shell | Daniel Beard's Programming Blog
– DavidPostill – 2018-06-07T20:15:42.030Yup; stops output, but closing the term still kills it. – rainydaymatt – 2018-06-07T20:21:54.790