I am writing and AppIndicator for Ubuntu for the Popular NodeJS Server "MeteorJS" that should list the available projects and could start the server and when it started the server, it gets its Terminal outputs and reacts to them.
When you start meteor it gives some output depending on what happens. For example when you change your code, it outputs "changed restarting..."
or when you change again "changed restarting... (2x)"
that is fine, but when it has an error it prints some error message.
That is fine unless you have not enough space on your desktop to see that terminal.
so I write an application that should notify me in another way about those messages.
My Actual Problem:
I need to start the server from a python program while i can react on the output the server writes on its stdout exactly when it appears.
So I want to
- Open a Terminal Program
- Send it to background so that I can do my job
- React to every line it prints