Olaf Dabrunz wrote:
> In-Reply-To: <[email protected]>
>
> On 09-Feb-16, Bram Moolenaar wrote:
> >
> > Manuel Ortega wrote:
> >
> > > On OS X 10.11.3, the 'make test' step runs tests of the new channel stuff.
> > > By looking at Activity Monitor.app, this opens at least three processes
> > > called "python2.7". At least one of them is quickly quit, but two remain
> > > running even after the 'make test' has completed running.
> > >
> > > I first noticed this because there were about 15 or 20 such processes
> > > running. I had built and tested Vim several times since my last login,
> > > and
> > > all those pythons were left up.
> > >
> > > This is reproducible every time.
> >
> > Can you try again after the change I just sent out? Patch 7.4.1294.
>
> It may also be necessary to start the server with "exec", so it uses the
> process group of the shell.
The command used is:
let s:job = job_start("python test_channel.py")
It's not using a shell, only starts the python process. Is that correct
Manuel, you only see one kind of process?
If it's not the way it's started, it could be that Python on Mac
behaves slightly differently. Exiting a multi-threaded process may hang
if some thread still runs.
I gave it a try, and indeed seems like the python processes just don't
exit. Killing the processes from the command line works, I wonder why
Vim isn't able to kill them, calling kill() would do the same thing.
--
hundred-and-one symptoms of being an internet addict:
196. Your computer costs more than your car.
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.