Hi,
The KDE docs say that you can OR the values of the
kdecore.KProcess.Communication enum when start()ing a KProcess.[1]
However that seems not to be possible:
from kdecore import *
p=KProcess()
p.setExecutable('cat')
True
p.start(KProcess.NotifyOnExit, KProcess.Stdin | KProcess.Stdout)
I forgot to mention the version of PyKDE:
PyKDE 3.16.0
PyQT 3.17.4
KDE 3.5.8
thx,
Wilbert Berendsen
--
http://www.wilbertberendsen.nl/
You must be the change you wish to see in the world.
-- Mahatma Gandhi
___
PyQt mailing list
On Saturday 12 April 2008 06:04, Wilbert Berendsen wrote:
Hi,
The KDE docs say that you can OR the values of the
kdecore.KProcess.Communication enum when start()ing a KProcess.[1]
However that seems not to be possible:
from kdecore import *
p=KProcess()
p.setExecutable('cat')
True
On Saturday 12 April 2008 06:04, Wilbert Berendsen wrote:
Hi,
The KDE docs say that you can OR the values of the
kdecore.KProcess.Communication enum when start()ing a KProcess.[1]
However that seems not to be possible:
from kdecore import *
p=KProcess()
p.setExecutable('cat')
True
Op zaterdag 12 april 2008, schreef Jim Bublitz:
Phil suggests that this:
p.start(KProcess.NotifyOnExit, KProcess.Communication (KProcess.Stdin |
KProcess.Stdout))
Thanks, it works! I tried to do that, but tried kdecore.Communication instead
of KProcess.Communication
should work - I