Skip to content

Commit d77ddc4

Browse files
committed
fix menuconfig in msys2
1 parent d7124a3 commit d77ddc4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

utils/python/tool.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@ def __init__(self):
2323

2424
def guiconfig(self, path):
2525
print("Start menu config.")
26-
os.system("cd " + path + " && " + self.kconfig_path + "/guiconfig.py")
26+
os.system("cd " + path + " && python3 " + self.kconfig_path + "/guiconfig.py")
2727
print("Menu config done.")
2828

2929
def menuconfig(self, path):
3030
print("Start menu config.")
31-
os.system("cd " + path + " && " + self.kconfig_path + "/menuconfig.py")
31+
os.system("cd " + path + " && python3 " + self.kconfig_path + "/menuconfig.py")
3232
print("Menu config done.")
3333

3434
def clean_cache(self):

0 commit comments

Comments
 (0)