How do i check if stdin exists?
how do i check that stdin exists?
at the moment i try to do it like so
however i get the error "attempt to index a nil value (field 'stdin')"
how is this even possible if im checking if it is nil?
i am using this in an attempt to recreate the 'tee' tool from linux
Link to post
Share on other sites