kprocess::block & vim -g

Mickael Marchand marchand at kde.org
Sat Feb 22 01:26:23 GMT 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Le Samedi 22 Février 2003 02:06, Oswald Buddenhagen a écrit :
> On Fri, Feb 21, 2003 at 11:04:26PM +0100, Mickael Marchand wrote:
> > I just noticed that kprocess->start(KProcess::Block) no longer returns
> > when starting 'vim -g' inside it. That used to work in 3.1.x
>
> which additional options (communication mode, pty settings) were used?
> is it some code in cvs?
yes, the current vimpart in KEG-1
(vimwidget.cpp, look at the constructor)

>
> > I guess it's caused by the recent changes in kprocess ...
>
> may well be.
>
> > I don't know if it's a new bug or a bug fix for 3.1 :)
> > i would say a fix since it makes sense to keep kprocess running while vim
> > is running even if it detaches from its terminal,
>
> no, that is definitely a bug. vim does not only detach from the terminal,
> but also forks into the background, meaning that the original process
> exits.
>
> greetings

- -- 
KVim Maintainer, http://freehackers.org/kvim
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+VtG/yOYzc4nQ8j0RAuAwAJ0aFtLmwMW62aFWWmLeZvOMCqjedwCdGAwM
KQ22jHlQKyMuKEHvkLOUJCw=
=6t/0
-----END PGP SIGNATURE-----





More information about the kde-core-devel mailing list