Esempio n. 1
0
 /// <summary>
 /// Creates a new command that pipes its standard output and standard error to the specified streams.
 /// </summary>
 public static Command operator |(Command source, ValueTuple <Stream, Stream> target) =>
 source | (PipeTarget.ToStream(target.Item1), PipeTarget.ToStream(target.Item2));
Esempio n. 2
0
 /// <summary>
 /// Creates a new command that pipes its standard output to the specified stream.
 /// </summary>
 public static Command operator |(Command source, Stream target) =>
 source | PipeTarget.ToStream(target);