[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?
> Regards,
> Danny
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20081125/918952dd/attachment.html 

More information about the Mono-list mailing list