$ nohup
<
i
>
program
<
/i
>
.exe
2
>&1
| tee log.txt