GithubHelp home page GithubHelp logo

Comments (12)

opticalgenesis avatar opticalgenesis commented on July 19, 2024 1

Both Ctrl-C and closing the window gives a crash on Windows 10 x64 as well

from garlicoin.

quantumproducer avatar quantumproducer commented on July 19, 2024

On Linux it runs in background. Not expected..
Expected to start a new screen session with screen -S garlicd then do garlicoind then hit control+a, control+d to detach

from garlicoin.

ryan-shaw avatar ryan-shaw commented on July 19, 2024

@quantumproducer It doesn't run as a daemon, it runs in the foreground but just logs elsewhere, what you can do is add -printtoconsole if you want logging to stdout.

from garlicoin.

dylmye avatar dylmye commented on July 19, 2024

https://stackoverflow.com/questions/1641182/how-can-i-catch-a-ctrl-c-event-c

https://docs.microsoft.com/en-us/windows/console/setconsolectrlhandler

bitcoin#9746

Hope this helps!

from garlicoin.

ryan-shaw avatar ryan-shaw commented on July 19, 2024

@dylmye I don't think catching is the problem

from garlicoin.

dylmye avatar dylmye commented on July 19, 2024

WDYT is the cause? It's certainly related to the termination routine

from garlicoin.

ryan-shaw avatar ryan-shaw commented on July 19, 2024

https://github.com/bitcoin/bitcoin/pull/9817/files

from garlicoin.

dylmye avatar dylmye commented on July 19, 2024

It's possible even though that's for a segfault. I can post the thread call stack later if that helps

from garlicoin.

ezquire avatar ezquire commented on July 19, 2024

We can probably close this it has been a bitcoin issue for a long time
bitcoin#471

from garlicoin.

dylmye avatar dylmye commented on July 19, 2024

Can you do something like "press q to quit"?

from garlicoin.

VhatAmI avatar VhatAmI commented on July 19, 2024

@ezquire but if it gets fixed we can say GRLC > BTC

from garlicoin.

ezquire avatar ezquire commented on July 19, 2024

i'm not sure it can be fixed very easily and for such a small issue it would probably be way more work to refactor the code to handle interrupts, but again im a newbie so i'm not sure

from garlicoin.

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.