[GH-ISSUE #205] Offer a way to start and manage processes #141

Closed
opened 2026-05-05 11:47:36 -06:00 by gitea-mirror · 6 comments
Owner

Originally created by @atrauzzi on GitHub (Mar 10, 2019).
Original GitHub issue: https://github.com/kusti8/proton-native/issues/205

Does proton native offer any common facility that I can use to create and manage processes from within my applications?

Originally created by @atrauzzi on GitHub (Mar 10, 2019). Original GitHub issue: https://github.com/kusti8/proton-native/issues/205 Does proton native offer any common facility that I can use to create and manage processes from within my applications?
Author
Owner

@mischnic commented on GitHub (Mar 10, 2019):

Since proton-native runs on Node, you can use child_process as you would in Node:

<!-- gh-comment-id:471293153 --> @mischnic commented on GitHub (Mar 10, 2019): Since proton-native runs on Node, you can use `child_process` as you would in Node: - https://nodejs.org/api/child_process.html - http://krasimirtsonev.com/blog/article/Nodejs-managing-child-processes-starting-stopping-exec-spawn
Author
Owner

@atrauzzi commented on GitHub (Mar 10, 2019):

Oh, interesting. So it bundles a nodejs runtime alongside the native application?

<!-- gh-comment-id:471295037 --> @atrauzzi commented on GitHub (Mar 10, 2019): Oh, interesting. So it bundles a nodejs runtime alongside the native application?
Author
Owner

@mischnic commented on GitHub (Mar 10, 2019):

Oh, interesting. So it bundles a nodejs runtime alongside the native application?

No, your code gets actually executed by Nodejs and you call out to native code (a native library).

<!-- gh-comment-id:471306753 --> @mischnic commented on GitHub (Mar 10, 2019): > Oh, interesting. So it bundles a nodejs runtime alongside the native application? No, your code gets actually executed by Nodejs and you call out to native code (a native library).
Author
Owner

@atrauzzi commented on GitHub (Mar 10, 2019):

Ah, I see, so this doesn't build on top of react native, though it aims to be compatible?

<!-- gh-comment-id:471330389 --> @atrauzzi commented on GitHub (Mar 10, 2019): Ah, I see, so this doesn't build on top of react native, though it aims to be compatible?
Author
Owner

@kusti8 commented on GitHub (Mar 10, 2019):

It aims to be like react native. The API is not compatible with react native due to some limitations, but all JS libraries, including react ones, are compatible.

<!-- gh-comment-id:471330490 --> @kusti8 commented on GitHub (Mar 10, 2019): It aims to be like react native. The API is not compatible with react native due to some limitations, but all JS libraries, including react ones, are compatible.
Author
Owner

@atrauzzi commented on GitHub (Mar 10, 2019):

Thanks for the info!

<!-- gh-comment-id:471335588 --> @atrauzzi commented on GitHub (Mar 10, 2019): Thanks for the info!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/proton-native#141
No description provided.