The problem is Windows (and a programmer with a short memory), isn't that most always the case? Since the full path contained a space in it, there needed to be quotes around it before the system would understand it.
Not:
QString sFullPath
( "C:\\Program Files\\Net3Helper\\Net3Helper.exe" );
QString sFullPath( "C:\\Program Files\\Net3Helper\\Net3Helper.exe" );
QProcess::startDetached( sFullPath );
To copy to clipboard, switch view to plain text mode
but,
QString sFullPath
( "\"C:\\Program Files\\Net3Helper\\Net3Helper.exe\"" );
QString sFullPath( "\"C:\\Program Files\\Net3Helper\\Net3Helper.exe\"" );
QProcess::startDetached( sFullPath );
To copy to clipboard, switch view to plain text mode
Thanks for looking at this Marcel!
Bookmarks