this seems reasonable as a replacement but dangerous to begin with -- on linux you can end up with a false positive because /brackets/welcome could be part of a path that isn't the actual brackets welcome path.