Processstdinon end function main stdin_input. Let inputString. As I can understand processstdinresume call is not necessary in new Streams API though docs still says it must be resumed manually.