in.0 = 0 address system "cat" with input stem in. say "done, rc="rc
This should exit with rc 0, but it hangs.
Claude reports that the fix should consist of moving close(pipe) out of the if in interpreter/platform/unix/SystemCommands.cpp, InputWriterThread::dispatch. I leave that to the cpp experts.
if (inputBuffer != NULL && bufferLength > 0) { if (write(pipe, inputBuffer, bufferLength) < 0) { ... } close(pipe); }
Anonymous
You seem to have CSS turned off. Please don't fill out this field.
fixed code and added test with revision [r13263]
Commit: [r13263]
Claude reports that the fix should consist of moving close(pipe) out of the if in interpreter/platform/unix/SystemCommands.cpp, InputWriterThread::dispatch. I leave that to the cpp experts.
fixed code and added test with revision [r13263]
Related
Commit: [r13263]