QProcess with Filepath issue
-
Hi All,
i run one exe through QT QProcess. i pass 3 data passing through QStringList arguments. one is categoryNum, second is inputpathStr, and third is outputpathStr.
My problem is Output path folder name contain (.) (ex@"C:/testttt V.10/exitproce/";@) the QProcess passing exe is not executed. but without (.) in output path, the QProcess passing exe properly running.
window file path have backward slash. like (c:\main\data\file.txt;). once QT use passing this path, change the slash direction. like (c:/main/dat/file.txt;)
how to solve?
regards,
M.Mathi -
Did you try using QDir::toNativeSeparators(path)?