From kde-devel Tue Apr 30 11:48:04 2002 From: David Faure Date: Tue, 30 Apr 2002 11:48:04 +0000 To: kde-devel Subject: Re: Handling filenames with spaces. X-MARC-Message: https://marc.info/?l=kde-devel&m=102016747324792 On Tuesday 30 April 2002 13:20, markcox wrote: > In the following code in cdbakeoven, > The command calling mpg123 does not correctly handle spaces in the filename. > > > > if(mType.find("x-mp3") != -1) > { > *cdboShellProc << "mpg123 -v -s " + file + " > " + outName; > tmpList->append(outName); > > [...] > > What is the 'kde way' to do this? KRun::shellQuote( file ); -- David FAURE, david@mandrakesoft.com, faure@kde.org http://people.mandrakesoft.com/~david/ Contributing to: http://www.konqueror.org/, http://www.koffice.org/ KDE, Making The Future of Computing Available Today >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<