Hello, I am using QProcess class in order to start an external program.
QProcess gzip2;
gzip2.start("/home/hurricane/console-4.o");
if (!gzip2.waitForStarted())
return false;
gzip2.write("somethink!\n");
I want the Qt program to freeze in that point until a signal from the external program (console-4.o) is received.
Is that possible with the usage of threads or shall I use another method?
For instance, a thread of the external program send that signal
pthread_cond_signal( &condition_cond );
How I can receive it from the Qt program?
I will appriciete any help
Vasilis
Bookmarks