I am attempting to use gedit as my editor when running cscope. To do so, I set my 'editor' to be a bash script which contains the following:
gedit $2 +$1 2> /dev/null &
When I close cscope, gedit also closes. How can I prevent this? I've tried other editors besides gedit but get the same result.