[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: OT: Best way to control a consol command from a gui?
From:       Tim Jansen <ml () tjansen ! de>
Date:       2003-09-03 20:36:16
[Download RAW message or body]

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 <<
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic