Turns out real-world usage needs more control than rpm.execute() delivers. This 
could be crammed into rpm.execute() but it'd be forward incompatible in a 
somewhat non-obvious way, we might just as well add a separate function for it.

Supports redirecting stdin, stdout and stderr to a given path, support for file 
descriptors, other actions and spawn attributes can be added later.

Fixes: #3192
You can view, comment on, or merge this pull request online at:

  https://github.com/rpm-software-management/rpm/pull/3241

-- Commit Summary --

  * Add rpm.spawn() Lua API

-- File Changes --

    M docs/manual/lua.md (30)
    M rpmio/lposix.c (2)
    M rpmio/rpmlua.c (74)
    M tests/rpmmacro.at (71)

-- Patch Links --

https://github.com/rpm-software-management/rpm/pull/3241.patch
https://github.com/rpm-software-management/rpm/pull/3241.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/3241
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/pull/3...@github.com>
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to