Hello! Friends,
I have tried to start a QProcess in my gui but had a problem to start it with the blank space in its path. For example when i try following code: -
proc.start("C:/MyExamples/sample/sample.exe");
QProcess proc;
proc.start("C:/MyExamples/sample/sample.exe");
To copy to clipboard, switch view to plain text mode
it works properly but when blank space comes as in "Program Files" it doesn't work as shown: -
proc.start("C:/Program Files/sample/sample.exe");
proc.start("C:/Program Files/sample/sample.exe");
To copy to clipboard, switch view to plain text mode
Can anyone please help me out in this. I will be grateful
Thanks in advance.
Bookmarks