Index: ksystraycmd/main.cpp =================================================================== --- ksystraycmd/main.cpp (Revision 572102) +++ ksystraycmd/main.cpp (Revision 572103) @@ -5,6 +5,7 @@ #include <kcmdlineargs.h> #include <kdebug.h> #include <klocale.h> +#include <kprocess.h> #include "ksystraycmd.h" @@ -94,7 +95,7 @@ // Read the command QString command; for ( int i = 0; i < args->count(); i++ ) - command += QCString( args->arg(i) ) + " "; + command += KProcess::quote(QString::fromLocal8Bit( args->arg(i) )) + " "; if ( !command.isEmpty() ) cmd.setCommand( command );