[Mono-dev] Bug: Console output redirection doesn't work in mono
Robert Jordan
robertj at gmx.net
Sun Nov 7 13:43:10 EST 2010
On 07.11.2010 19:04, Quandary wrote:
> For reproduction& example program, see my C# post here:
> http://stackoverflow.com/questions/4107683/controling-cmd-exe-from-winforms/4118494#4118494
>
> Note that I have replaced cmd.exe with /usr/bin/gnome-terminal and
> /usr/bin/bash
> but it doesn't work as in windows.
I'm not aware of any Linux system that installs bash as /usr/bin/bash.
It's usually /bin/bash...
> Bash throws an unhandled exception, while gnome-termial exits right
> after execution.
... and what you call an "unhandled exception" is probably
Process.Start() trying to tell you that it couldn't start
/usr/bin/bash.
Robert
More information about the Mono-devel-list
mailing list