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.

misto

Beginner

  • "misto" started this thread

Posts: 1

Location: Uerikon, Switzerland

  • Send private message

1

Wednesday, December 7th 2005, 6:46am

programming with libkonsolepart

Hi!

I'm developing a small application which embeds a konsolepart. I can create the konsole and add it to my application, but when I try to call "startProgram(.." I get this warning: "Unable to open a pseudo teletype" and the konsole just disappears. Executing commands with "sendInput("echo \"bla\" \n");" works just fine.

My second question is, how can I monitor the status of the console? For example, I need to know when a command has finished.. which leads to my third question: Is there a kde-way to get information about my program's child processes? With that, I'd have a solution for my second question..

Thanks for your help and your time! :)