Pre input & output redirect chnage

a push with output redirect and input redirect almost working while
running command in background