diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2020-12-30 23:06:31 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2020-12-30 23:06:31 +0000 |
commit | f021f61f10c566fcae2f77b1a4b095869076062b (patch) | |
tree | ce84d18f30a4ebf5f6dc3b7ea1b009ba1a06ffcf /src/include | |
parent | b6b71f9942fb5f209e183c2ca997f33071c38c71 (diff) | |
download | execline-f021f61f10c566fcae2f77b1a4b095869076062b.tar.xz |
Add -E option for variable autoimport
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/execline/execline.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/include/execline/execline.h b/src/include/execline/execline.h index bbe4db9..144283d 100644 --- a/src/include/execline/execline.h +++ b/src/include/execline/execline.h @@ -4,6 +4,7 @@ #define EXECLINE_H #include <sys/types.h> + #include <skalibs/gccattributes.h> #include <skalibs/buffer.h> #include <skalibs/stralloc.h> @@ -76,4 +77,10 @@ struct elsubst_s extern int el_substitute (stralloc *, char const *, size_t, char const *, char const *, elsubst_t const *, unsigned int) ; + +/* Execution with or without substitution */ + +extern void el_modif_and_exec (char const *const *, char const *, char const *, int) gccattr_noreturn ; +extern pid_t el_modif_and_spawn (char const *const *, char const *, char const *, int) ; + #endif |