Bug in KProcess?
rik at kde.org
Sun Sep 1 14:59:34 BST 2002
-----BEGIN PGP SIGNED MESSAGE-----
#if Sebastian Trueg
> it seems to be impossible to pass several Communication flags or'ed
> together to the start() method. I get
> no matching function for call to `KProcess::start (KProcess::RunMode,
> int)' /opt/kde3/include/kprocess.h:273: candidates are: bool
> KProcess::start(KProcess::RunMode = NotifyOnExit,
> KProcess::Communication = NoCommunication)
> for every combination.
> But I need to pass the NoRead flag in conjunction with AllOutput. I
> there a trick or is this impossible?
Try a cast:
KProcess::Communication(KProcess::NoRead | KProcess::AllOutput)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
-----END PGP SIGNATURE-----
More information about the kde-core-devel