[Mono-list] Weird issue with Process.Start (works with MS .NET)

Anteru newsgroups at catchall.shelter13.net
Thu Nov 12 12:31:22 EST 2009


> Actually, it behaves the same way. That is, it instructs the
> OS to load and execute a particular executable. On Linux, that
> executable is not... well... executable.
Nope, that's wrong. As I said, I can run it flawlessly in a simpler app,
it just does not work in context of this bigger one. On Ubuntu, you can
run mono executables right from the command line using ./foo.exe -- and
it certainly works to run it via Process.Start(). I guess Ubuntu
registers .exe as a non-native executable by default.

The problem is really something which happens in the larger context of
my app, as I cannot reproduce the issue with a small test case (the
small test case starts a C# app and correctly read from standard output.)

That's why I'm asking where to start debugging, as I'm a bit lost.

Cheers,
  Anteru



More information about the Mono-list mailing list