mirror of
https://github.com/troglobit/libite.git
synced 2026-10-14 10:19:31 +00:00
The runbg() function is a delayed execvp() that has double-forked to the background (to not create zombies). It is useful for running commands in the background for APIs that need to return a reply, e.g. a NETCONF RPC to reboot the system. Compared to the original in Infix, this version double forks to reparent itself to PID 1 (init), closes all open files, including stdio. Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
27 lines
200 B
Plaintext
27 lines
200 B
Plaintext
*.o
|
|
*.log
|
|
*.trs
|
|
.deps/
|
|
/chomp
|
|
/copyfile
|
|
/dir
|
|
/fexist
|
|
/fisdir
|
|
/fopenf
|
|
/fsendfile
|
|
/lfile
|
|
/makepath
|
|
/pidfile
|
|
/printhdr
|
|
/progress
|
|
/rsync
|
|
/runbg
|
|
/str
|
|
/strmatch
|
|
/systemf
|
|
/tempfile
|
|
/touch
|
|
/tree
|
|
/which
|
|
/yorn
|