Well, for Windows using C# you might need to add the appropriate method 
references to grpc_csharp_ext.c 
<https://github.com/grpc/grpc/blob/master/src/csharp/ext/grpc_csharp_ext.c> 
and NativeMethods.cs 
<https://github.com/grpc/grpc/blob/master/src/csharp/Grpc.Core/Internal/NativeMethods.cs>

On Saturday, July 23, 2016 at 4:30:07 PM UTC-4, kang joni wrote:
>
> Thanks for your suggestion. But I'm just hoping to write in portable 
> manner (Win/Lin). 
>
> On Sunday, July 24, 2016 at 3:20:48 AM UTC+7, Paul Grosu wrote:
>>
>>
>> Hi Kang,
>>
>> Autonomy is a given with any piece of code :)  Since gRPC code is built 
>> with quite a lot of flexibility, if you need to for your own instance, you 
>> can easily add to subprocess_posix.c 
>> <https://github.com/grpc/grpc/blob/master/src/core/lib/support/subprocess_posix.c>
>>  
>> the dup2/fork/pipe combo to grab the stdout/stderr and watch it.
>>
>> Hope it helps,
>> Paul
>>
>> On Saturday, July 23, 2016 at 3:31:02 PM UTC-4, Craig Tiller wrote:
>>>
>>> It's not right now: the subprocess API is just what we've found we 
>>> needed to write unit tests for gRPC.
>>>
>>> On Sat, Jul 23, 2016, 12:10 PM kang joni <[email protected]> wrote:
>>>
>>>> I want to watch subprocess worker data, something like either stdout or 
>>>> stderr, whether is supported use case now?
>>>>
>>>> -- 
>>>> You received this message because you are subscribed to the Google 
>>>> Groups "grpc.io" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send 
>>>> an email to [email protected].
>>>> To post to this group, send email to [email protected].
>>>> To view this discussion on the web visit 
>>>> https://groups.google.com/d/msgid/grpc-io/71cf9e4a-3220-496f-ac63-0e598d94df71%40googlegroups.com
>>>>  
>>>> <https://groups.google.com/d/msgid/grpc-io/71cf9e4a-3220-496f-ac63-0e598d94df71%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>> .
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>

-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/42705026-e8d6-4e85-832f-a5cf243ffab0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to