Skip to content

Commit

Permalink
[rqd] Add SYSTEMDRIVE to env var list for Windows machines
Browse files Browse the repository at this point in the history
  • Loading branch information
angelali-ms committed Feb 3, 2024
1 parent c1dcad9 commit 89ae4ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rqd/rqd/rqcore.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]

Expand Down

0 comments on commit 89ae4ae

Please sign in to comment.