| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
|
Azure Pipelines: There may be pipelines that require an authorized user to comment /azp run to run. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
PR Summary
Replace Unix login-shell startup P/Invokes for process metadata with managed .NET APIs while preserving the existing native calls required by direct process replacement and macOS argument inspection.
PR Context
.NET 11 already provides the Linux executable path and current process ID through behavior-equivalent managed APIs. This PR uses those APIs and removes the obsolete readlink and getpid declarations. It retains setenv because Environment.SetEnvironmentVariable updates the managed Unix environment cache, not the native libc environment inherited by the existing execv call, and retains execv and macOS sysctl because no equivalent managed APIs preserve the startup behavior.
PR Checklist