Arguments containing spaces must be quoted to be correctly supplied to the new process. For example
包含空格的参数必须加引号才能正确地提供给新进程。例如:
QProcess process;
process.start("dir \"My Documents\"");
Arguments containing spaces must be quoted to be correctly supplied to the new process. For example
包含空格的参数必须加引号才能正确地提供给新进程。例如:
QProcess process;
process.start("dir \"My Documents\"");