Skip to content

Commit 634f4b1

Browse files
committed
add path for Mac rmcprofile
1 parent 170dfcf commit 634f4b1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

GSASII/GSASIIphsGUI.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8174,6 +8174,7 @@ def RunRMCProfile(event):
81748174
with open(script_file, 'w') as f:
81758175
f.write("#!/bin/bash\n")
81768176
f.write(f'cd "{os.getcwd()}"\n')
8177+
f.write(f'export PATH="{os.path.dirname(rmcfile)}":$PATH\n')
81778178
f.write(f'"{rmcfile}" "{pName}"\n')
81788179
os.system("chmod +x runrmc.sh")
81798180
ascript_file = os.path.join(os.getcwd(), "runrmc.script")

0 commit comments

Comments
 (0)