You are not logged in.

Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Monday, February 6th 2006, 2:18pm

Include a console in an app

Hello,

I'm new in KDE-Development and want to write an application including a console (+ menu, toolbars, etc.). This console should start a command-line program and my app should communicate with the program. How to start it?

Thanks.

2

Tuesday, February 7th 2006, 3:04pm

RE: Include a console in an app

So, i can be more precise.

I've witten an application: a widget with menus, toolbars, etc. and a console (using KParts, libkonsolepart).

What I want is the following: My programm should be able to write commands on this console -- through, e.g. menubars -- and these commands should, of course, be processed.

I've tried with KProcess, but I only can store the result of the commands in a buffer, not the commands themselves. And how to use my KPart-console?

Thanks.