[Mono-list] How to Run Linux Execute Command ">" and "&"

Ian Norton inorton at gmail.com
Sun Jun 2 08:16:05 UTC 2013

Why don't you write a shell script that does your redirection etc and
include this with your program ( eg, run that ). Use the right tool for the

Else run the original program and parse the output directly

On 31 May 2013 13:28, Edward Ned Harvey (mono) <
edward.harvey.mono at clevertrove.com> wrote:

> > From: mono-list-bounces at lists.ximian.com [mailto:mono-list-
> > bounces at lists.ximian.com] On Behalf Of cosy
> > Subject: [Mono-list] How to Run Linux Execute Command ">" and "&"
> In linux / unix systems, a shell (bash, csh, etc) is an interactive
> program that's used to launch and manage other programs.  The symbols > and
> & are arguments to the shell that instruct it to handle the output of the
> child process differently from normal.
> In your case, you're basically writing the shell.  You have a UI, and when
> the user clicks something, your application launches another process.
> You'll either have to handle the IO from that child process yourself, or
> find some way to wrap it up and make something else (like bash) handle it
> for you.  Maybe your program will actually create a bash shell script, and
> then tell bash to run that script.
> _______________________________________________
> 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/20130602/ae570c37/attachment.html>

More information about the Mono-list mailing list