Replies: 1 comment 1 reply
-
It's a little tough to tell from the snippet you posted (and without any real Rust knowledge), but my initial suspicion is that the external reader process is attempting to read stdin before the message has been sent, as the message is sent after the process starts. External reader processes are expected to block (until a Close External Process message is received) and continually read data from stdin. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I was trying to get a baseline implementation of an external reader and was having trouble receiving the initial
InitializeResourceReaderRequest
message. Debug messages from the server show that the message is being sent, but in the external reader nothing gets received over stdinVersion:
Pkl 0.27.1 (macOS 14.3.1, native)
external_reader.rs:
Beta Was this translation helpful? Give feedback.
All reactions