MCPcopy Create free account
hub / github.com/lzhoang2801/OpCore-Simplify / open_folder

Method open_folder

Scripts/utils.py:152–159  ·  view source on GitHub ↗
(self, folder_path)

Source from the content-addressed store, hash-verified

150 return major, minor, patch
151
152 def open_folder(self, folder_path):
153 if os.name == 'posix':
154 if 'darwin' in os.uname().sysname.lower():
155 subprocess.run(['open', folder_path])
156 else:
157 subprocess.run(['xdg-open', folder_path])
158 elif os.name == 'nt':
159 os.startfile(folder_path)
160
161 def request_input(self, prompt="Press Enter to continue..."):
162 if sys.version_info[0] < 3:

Callers 1

before_using_efiMethod · 0.80

Calls 1

runMethod · 0.80

Tested by

no test coverage detected