Write to StandardInput in ToolTask #7322
-
I want to pipe data to a command line tool. I wonder if it is possible to use Process.StandardInput to write to do that? I see that StandardInput is used in the source code, but I don't understand how I can use this in my own code. |
Beta Was this translation helpful? Give feedback.
Answered by
rainersigwald
May 11, 2017
Replies: 1 comment
-
It doesn't look like ToolTask provides hooks for that, so you'd have to either implement it yourself (in a different |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
rainersigwald
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It doesn't look like ToolTask provides hooks for that, so you'd have to either implement it yourself (in a different
ITask
implementation) or overrideToolTask.ExecuteTool
with the behavior you want.