回复: qprocess嵌套调用遇到的问题
#6 回 青空飞羽 的帖子 [砍猪佩琪 05-14 21:36]
青空飞羽:你用QProcess的setWorkingDirectory()设置工作目录了吗?
The process will be started in the directory set by setWorkingDirectory(). If workingDirectory() is empty, the working directory is inherited from the calling process. (2019-05-14 09:09)
确实没用这个函数设置路径,原先一直把进程的路径和主程序所在的文件路径当成一回事了,谢谢大神指点呀