-
Notifications
You must be signed in to change notification settings - Fork 358
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Document fork, exec, wait and redirect2null Lua functions as deprecated
Rpm scriptlets should have no business dealing with this level of detail in process control, rpm.execut() is much saner and safer for scriptlet needs. We can't just remove because this is a public API with known users (eg glibc in Fedora), but we can at least document these as deprecated with noisy warnings. fork() and exec() are the main "problems" here, but wait() and redirect2null() become meaningless once you take the first two away. Fixes: #2420
- Loading branch information
Showing
3 changed files
with
29 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters