Giter Site home page Giter Site logo

Comments (7)

bm777 avatar bm777 commented on August 31, 2024 2

Hi @kentezrabetita, I managed to include a child process running Python or Rust code via a call from IPC.

I'm about to push it tomorrow or Thursday in another branch, then do a PR to the examples folder of Nextron.

You will be able to use the analogy in .ts, .js easily, but for Python, you need to have Python or Rust installed on the target machine to ruin your app. As I said, if you only use js/ts, no need, it is already packed in Nextron, you just.

from nextron.

kentezrabetita avatar kentezrabetita commented on August 31, 2024 1

Hey @bm777, that's awesome news! I appreciate your work on this and thanks for the good heads up. Looking forward to your PR!

from nextron.

bm777 avatar bm777 commented on August 31, 2024 1

@kentezrabetita Here is the example running Python code via IPC on top of the basic lang javascript example.

  • it handles dev mode and pro mode in the background.js
  • Waiting for the merge or review of the PR.
Screen.Recording.2023-12-07.at.01.39.08.mov

from nextron.

JesTery58 avatar JesTery58 commented on August 31, 2024

you not passed channel when called child.send()

from nextron.

bm777 avatar bm777 commented on August 31, 2024

@JesTery58 can you be more precise please?

from nextron.

JesTery58 avatar JesTery58 commented on August 31, 2024

do child.send() function want a channel ?

from nextron.

bm777 avatar bm777 commented on August 31, 2024

@JesTery58 basically when using IPC, I always pass the channel as str, in this case, the channel was : here

from nextron.

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.