Question about GHI #508 - Do I understand this task correctly? #516
-
Originally miss-placed question from GH issue commentsorry I saw the code-of-conduct a bit late, this is a re-post of a question I asked about GitHub Issue #508 TL;DR - is this just about the transparency part of the call?
In regards to headless apps like an Objective-C CLI tool: My reasoning (a sort-of Rationale)While I'm confused by (the part around lines 205-207): ravynos/Frameworks/Foundation/NSProcessInfo.m Lines 202 to 225 in d9cd8da which avoids calling initializing code for new process except for this is assuming the rest is just setting up the constant immutable/builtin/darwin strings for the app process? Or did I miss something big? my assumptionsmy understanding from CLI tools on Apple's implementation (e.g., where the most of my own Objective-C experience comes from) is that the main function of an app need only setup a release-pool (typically Which from the look of (which calls ConclusionThus ensuring In summation: do I understand this issue correctly, or have I gone astray? Important I'm still unfamiliar with much of the RavynOS project and appreciate your efforts and patience. 🙇 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
cc @mszoek |
Beta Was this translation helpful? Give feedback.
You understand it perfectly :) Our Foundation originated from Cocotron so it's very similar. I am not actually 100% sure this is a valid issue - it does not seem like
__NSInitializeProcess(and therefore I guesslibmain) are not being called in some cases, but I have yet to actually debug this. (Also I guess I never updated the copyrights on libmain.m LOL)For the record, this kind of question about a proposed change is fine to go in an Issue. It's relevant. I just didn't want people opening Issues for things like "will ravynOS ever support X?", which was very common.
Also, you seem pretty competent in Cocoa and Mac development, despite the modesty... can I interest you in contributing to…