Also do not clear the subprocess environment, in case running GDB needs certain environment variables.
mentioned in commit 36783141