exit_code = OS.execute("cmd.exe", ["/C", "python " + "\"" + current_file + "\""], output, true, false)
这是调用 python 的代码
但是执行到 input()
时线程就会卡住
exit_code = OS.execute("cmd.exe", ["/C", "python " + "\"" + current_file + "\""], output, true, true)
这是打开终端执行 python 的代码
但是终端中不会有任何输出
而且执行 input()
时也会卡住
求助!!!