Giter VIP home page Giter VIP logo

Comments (6)

dmolina avatar dmolina commented on July 20, 2024 1

Now runargs() returns error code if any Exception is run. However, I still have not yet fixed the exit() problem.

from daemonmode.jl.

dmolina avatar dmolina commented on July 20, 2024 1

Now the last version, v0.1.7 allow to run the exit function in the client without any problem. Even more, the result of the exit function is returned by the client (well, 0 or 1). Finally I have created a local exit function that returns a specific Exception that is detected by the Daemon for not considering it as a real Exception.

Sorry for the delay, but I was working a little allowing threads, that I considered had higher priority.

from daemonmode.jl.

dmolina avatar dmolina commented on July 20, 2024

Thank you for the idea. However, how do you think it should be consulted the exit code? As the return of runfile() function?

from daemonmode.jl.

feanor12 avatar feanor12 commented on July 20, 2024

Yes, I think a return value or struct containing the exit code would work.

from daemonmode.jl.

feanor12 avatar feanor12 commented on July 20, 2024

Would it be useful to be able to pass binary objects between the server and the client?
I was thinking maybe the exception(or any other return value) can be passed.
This would require some updates in the server-client protocol though.
Maybe MsgPack.jl or Serialization would work?

from daemonmode.jl.

dmolina avatar dmolina commented on July 20, 2024

About the passing of binary objects, I expect to add it in a future remote version (but maybe it could be done in a new package, DaemonRemoteMode.jl?).

from daemonmode.jl.

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.