[Rpm-maint] [rpm-software-management/rpm] How to detect RPM version without running rpm --version? (Discussion #2213)
Shane Bishop
notifications at github.com
Fri Sep 30 18:49:43 UTC 2022
How can the RPM version be detected programmatically (in a language like Go or C) using either a file or a system call, without running a subprocess `rpm --version`?
For context, I am writing an application that needs to be highly performant, and I want to avoid running child process if at all possible.
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/discussions/2213
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/repo-discussions/2213 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20220930/9c3d04f8/attachment.html>
More information about the Rpm-maint
mailing list