[Mono-list] Using Grep
Juan C. Olivares
juancri at juancri.com
Tue Nov 25 11:16:05 EST 2008
I think you can take the outputstream and then start other process manually
copying the data into the input stream.
Other solution is to evaluated regular expressions in managed code.
On Tue, Nov 25, 2008 at 1:09 PM, Danny Waite <dannywaite7 at hotmail.com>wrote:
> Hi guys,
> I'm using System.Diagnostic.Process to execute a command and I'd like to
> pipe through grep.
> If I set proc.StartInfo.Arguments to something like "| grep blah" the
> referenced binary does not understand the command.
> Has anyone seen this problem before?
> Mono-list maillist - Mono-list at lists.ximian.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-list