[process] fixed: dev null usage

Use devnull if some of stdin, stdout or stderr is closed.
Create single lazy devnull file descriptor.