[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: kprocess & ioslave & ssh
From:       Lucas Fisher <ljfisher () iastate ! edu>
Date:       2001-07-22 2:23:03
[Download RAW message or body]

And, well, that would explain why non of the other slaves use KProcess for non
blocking process execution.

I may try manipulating PtyProcess to suit my needs before doing the fork, exec
my self. Does it have the same requirement as KProcess?

Lucas

Waldo Bastian wrote:
> 
> On Friday 20 July 2001 11:09 pm, Lucas Fisher wrote:
> > I using Kprocess to spawn an instance of ssh from an ioslave.  I am having
> > two, most likely related, problems.  First, I am never receiving the
> > processExited signal even though I know for sure the ssh process has died
> > or was killed.  Second, KProcess isn't detecting when the ssh process dies
> > (for example, when the user enters the wrong password too many times). If I
> > go to restart the process, KProcess still thinks the process is running.
> >
> > I have put my code that sets up and starts kprocess into kprocesstest.cpp
> > and it works there.
> >
> > I've been banging my head on this one and don't know what else to check.
> 
> KProcess needs KAplication and an event loop and io-slaves tend not to have
> that.
> 
> Cheers,
> Waldo
> --
> Andrei Sakharov, Exciled 1980-1986, USSR, http://www.aip.org/history/sakharov/
> Dmitry Sklyarov, Detained 2001-????, USA, http://www.elcomsoft.com/
> 
> >> Visit http://master.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
 
>> Visit http://master.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic