It fails here: https://github.com/HaxeFoundation/haxe/blob/fae543b/std/php/_std/sys/io/Process.hx#L69
with: uncaught exception: feof(): supplied resource is not a valid stream resource (errno: 2)
I checked the pointer (p) was able to respond to a feof() call in the constructor, but fails when inside the readBytes() function. Not sure if it is even related to tink_io.