add fd store variable
add pipe process func