Qt-interest Archive, March 2007
QProcess and stdin
Message 1 in thread
All,
I'm trying to communicate with an external program using QProcess and
stdin with qt 3.3.5 on OS X 10.4.9. I'm trying a...
<snip>
QProcess *conduit;
/* Setup the QProcess */
conduit->start();
conduit->writeToStdin("something");
qApp->processEvents();
</snip>
... but, although the process does start, it does not see anything
coming from stdin. I've also tried doing a qApp->eventLoop()-
>processEvents(QEventLoop::AllEvents, 1000); instead of the qApp-
>processEvents() (which I suspect does the same thing) with no luck.
What am I missing?
Thx much.
J
--
[ signature omitted ]