skip FIFO mode check if stdin doesn't exist

The creating pipe can make pipe no stdin, so I support no stdin.