Code Monkey home page Code Monkey logo

Comments (5)

kozyakin avatar kozyakin commented on May 29, 2024 1

Now, all is running as expected: no openJDK Platform binary process after ltex-cli.bat finished!

Well done! Great! Thanks a lot!

from ltex-ls.

valentjn avatar valentjn commented on May 29, 2024

I can't reproduce this. As far as I understand, ltex-cli.bat finishes (i.e., the cmd prompt C:\...> is displayed again), but java.exe continues to run. I don't see any Java processes on my system after running ltex-cli.bat.

Can you please open a second cmd window and run wmic process where "name like 'java.exe'" get processid,commandline three times:

  • once before the execution of ltex-cli.bat,
  • once during the execution of ltex-cli.bat (cmd prompt is not yet visible),
  • once after the execution of ltex-cli.bat (cmd prompt is visible again),

and post the three outputs?

from ltex-ls.

kozyakin avatar kozyakin commented on May 29, 2024

Please find attached files "before", "during" and "after" of outputs of the command wmic process where "name like '%java%'" which you requested (before execution, during and after).

I also attached related screenshots of Task Manage
before.txt
during.txt
after.txt
Screenshot 2021-11-02 123259
Screenshot 2021-11-02 123415

from ltex-ls.

valentjn avatar valentjn commented on May 29, 2024

Thanks for the info. Looks like the Java process for ltex-ls is not properly terminated by the Java process for lsp-cli.

I still can't reproduce this, even on another machine, and with the Microsoft build of OpenJDK. But I made lsp-cli terminate ltex-ls more aggressively, see commits above. Can you please test the pre-release 15.0.1-alpha.2 to see if the issue is resolved there (see docs on testing pre-releases)?

from ltex-ls.

github-actions avatar github-actions commented on May 29, 2024

This issue is now fixed on develop. The fix will be included in the next release of LTEX.

If you don't want to wait, you can try out the nightly pre-release tomorrow. Nightly pre-releases are published every morning at around 4am UTC.

from ltex-ls.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.