我在写一个程序,获取了用户输入的数据库用户名和密码,并用QProcess.start()执行: p = QtCore.QProcess(self) p.setProcessChannelMode(QtCore.QProcess.ForwardedChannels) p.start("mysql",["-uroot","-pyourpassword"]) 那我该怎么通过返回值或其他方法判断密码是否正确?
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn