From kde-devel Wed Sep 03 20:36:16 2003 From: Tim Jansen Date: Wed, 03 Sep 2003 20:36:16 +0000 To: kde-devel Subject: Re: OT: Best way to control a consol command from a gui? X-MARC-Message: https://marc.info/?l=kde-devel&m=106262138429930 On Wednesday 03 September 2003 22:18, Magnus Wirström wrote: > I want to make a GUI in C++ to my favourite consol > command cdparonia. I have already made the GUI and I'm > [...] > can't really find a good way to do this ... or am I > just looking at the wrong functions. what I have > looked at now is popen() but I'm not sure it is right. In KDE KProcess should be the right class. But as you want to wrap cdparanoia (and wrapping a command line command can be *very* tricky if you want to get progress information and error messages right), it is probably much easier to just use cdparanoia's library. bye... >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<