execline
Software
skarnet.org

The fdswap program

fdswap swaps two file descriptors, then executes a program.

Interface

     fdswap fd1 fd2 prog...

fdswaps swaps file descriptors numbered fd1 and fd2, then execs into prog with its arguments.

Notes