Many of packages which use filetriggers (e.g glibc and systemd) use following 
construction:

```lua
pid = posix.fork()
if pid == 0 then
  assert(posix.exec("/foo/bar"))
elseif pid > 0 then
  posix.wait(pid)
end
```

this is just not user friendly and we could implement something like 
`rpm.execute([args])` which would do all this boring things. Another option is 
definitely to create macro for this (like `%rpm_lua_execute`), but it's 
probably not user-friendly.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/389
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to