Giter VIP home page Giter VIP logo

Comments (8)

asahaf avatar asahaf commented on June 1, 2024 1

That's the error I get sometimes:

./sway-launcher-desktop.sh: line 189: kill: (5127) - No such process

Here is says line 189, but I think it's related to line 183:

kill -9 "$(<"$PIDFILE")" | tail -n1

from sway-launcher-desktop.

Biont avatar Biont commented on June 1, 2024 1

I'm going to close here since #10 essentially handles what you suggested as well

from sway-launcher-desktop.

Biont avatar Biont commented on June 1, 2024

Thanks for the report! I think I know what you are talking about and I am glad I know where to start looking now.

from sway-launcher-desktop.

asahaf avatar asahaf commented on June 1, 2024

great, thank you!

from sway-launcher-desktop.

Biont avatar Biont commented on June 1, 2024

I wonder why that can happen. The whole problem is that pipe is still open after fzf finishes so the script cannot proceed. The solution is taken straight from here: junegunn/fzf#880

from sway-launcher-desktop.

Biont avatar Biont commented on June 1, 2024

Based on the assumption that the process is simply already destroyed for reasons I currently do not understand, we can probably safely move on here. I made a change so that it always returns successfully even if it cannot find a process. Could you please have a look @asahaf ?

I hope this fixes the problem without creating 2 new ones

from sway-launcher-desktop.

asahaf avatar asahaf commented on June 1, 2024

I'll give it a try, thanks

from sway-launcher-desktop.

asahaf avatar asahaf commented on June 1, 2024

@Biont The workaround solved the issue.

I think we can move the kill command, for the tail process, inside the same clean up trap that deletes the temp files, placing kill command before deleting the temp files.

from sway-launcher-desktop.

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.