about summary refs log tree commit diff
path: root/pkgs/profpatsch/execline/el_exec.rs
Commit message (Collapse)AuthorAgeFilesLines
* pkgs/profpatsch: adjust exec stuff to new skalibsProfpatsch2021-02-051-5/+16
| | | | | | | | | | | skarnet thought it would be wise to completely change the skalibs exec function interface without any backwards compat, so here we are. Have to reverse the code a bit, because `xmexec0` is a recursive `#define` pointing to `xmexec0_af`. `record-get` gets a rust treatment, it doesn’t really need the C interface just to exec into prog.
* pkgs/profpatsch/execline: add el_exec and el_substituteProfpatsch2020-06-281-0/+32
el_exec: wraps the various execve wrappers in skalib that are useful for writing execline-like utils. currently only `xpathexec0` is supported, which execs into the argv you give it or errors with the right error if file not found. el_substitute: execline argv substitution! Wraps the execline function, so it will behave exactly the same as the existing execline utils, like `importas`.