How can i read pipe\'s buffer without waiting. Subprocess is executing Swift script. If it was a python script, there is a flag for python that makes pipe unbuffered (-u). A