We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
使用opdll调用系统命令时,调用 op.GetCmdStr("D:/Games/leidian/LDPlayer9/ldconsole.exe list2",2000)会让程序完全卡死, 如果等待时间设置得很小则没有问题 op.GetCmdStr("D:/Games/leidian/LDPlayer9/ldconsole.exe list2",5)
使用正常情况命令会输出如下内容 0,雷电模拟器,0,0,0,-1,-1,800,600,160 1,雷电模拟器-1,0,0,0,-1,-1,800,600,160
使用py自带的调用也没有问题,唯独opdll会卡死 ''' python import subprocess
command = r"D:\Games\leidian\LDPlayer9\ldconsole.exe list2" result = subprocess.run(command, shell=True, capture_output=True, text=True) print(result.stdout)
‘’‘
The text was updated successfully, but these errors were encountered:
No branches or pull requests
使用opdll调用系统命令时,调用 op.GetCmdStr("D:/Games/leidian/LDPlayer9/ldconsole.exe list2",2000)会让程序完全卡死,
如果等待时间设置得很小则没有问题 op.GetCmdStr("D:/Games/leidian/LDPlayer9/ldconsole.exe list2",5)
使用正常情况命令会输出如下内容
0,雷电模拟器,0,0,0,-1,-1,800,600,160
1,雷电模拟器-1,0,0,0,-1,-1,800,600,160
使用py自带的调用也没有问题,唯独opdll会卡死
''' python
import subprocess
command = r"D:\Games\leidian\LDPlayer9\ldconsole.exe list2"
result = subprocess.run(command, shell=True, capture_output=True, text=True)
print(result.stdout)
‘’‘
The text was updated successfully, but these errors were encountered: