A teeny-tiny library that is intended to replace some shell spawning
functions such as popen()
and system()
with equivalents that
use vfork()
The intended use for this is as follows:
LD_PRELOAD=libvfork_utils.so ./my_prog
It will replace the system's popen()
and system()
with equivalents
that use vfork()
instad of fork()
, which is very handy for
Xenomai-enabled programs, or in any environment where Linux's
copy-on-write feature is undesirable.