From 6e71aa9558f7ce71f0519ddf24906cbbaf2d3719 Mon Sep 17 00:00:00 2001 From: Angela Li <144162000+angelali-ms@users.noreply.github.com> Date: Wed, 7 Feb 2024 08:17:44 -0800 Subject: [PATCH] [rqd] Add SYSTEMDRIVE to env var list for Windows machines (#1341) --- rqd/rqd/rqcore.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rqd/rqd/rqcore.py b/rqd/rqd/rqcore.py index 842028732..9391a2126 100644 --- a/rqd/rqd/rqcore.py +++ b/rqd/rqd/rqcore.py @@ -101,7 +101,7 @@ def __createEnvVariables(self): self.frameEnv["MAIL"] = "/usr/mail/%s" % self.runFrame.user_name self.frameEnv["HOME"] = "/net/homedirs/%s" % self.runFrame.user_name elif platform.system() == "Windows": - for variable in ["SYSTEMROOT", "APPDATA", "TMP", "COMMONPROGRAMFILES"]: + for variable in ["SYSTEMROOT", "APPDATA", "TMP", "COMMONPROGRAMFILES", "SYSTEMDRIVE"]: if variable in os.environ: self.frameEnv[variable] = os.environ[variable]