Replies: 1 comment
-
I don't know what to recommend not knowing the API you're working with (I haven't worked with |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
My dotnet program is starting a subprocess and need to communicate back and forth with it using JSON-RPC.
I'm using vs-streamjsonrpc, the interface for creating a new rpc connection is accepting two streams - one to read from and one to write to:
Attach(Stream? sendingStream, Stream? receivingStream)
.With plain
Process
my code looks something like this:How would you suggest to use
CliWrap
in this scenario?I saw
PipeSource.FromStream()
andPipeTarget.ToStream()
, but I think they're expect to read/write entire stream and not act for real time message passing between dotnet and the subprocess.Beta Was this translation helpful? Give feedback.
All reactions