How does Debian know how to execute my .NET programs even if I don't specify mono?

2009-02-22 Thread Foss User
I have a program compiled with mcs meant for mono called: hello.exe. If I just do ./hello.exe it runs automatically. How does it happen? why do I not have to do mono hello.exe. Why does it run only with ./hello.exe I mean Linux wouldn't execute a code unless it knows the interpreter from the

Re: How does Debian know how to execute my .NET programs even if I don't specify mono?

2009-02-22 Thread Ansgar Burchardt
Hi, Foss User foss...@gmail.com writes: I have a program compiled with mcs meant for mono called: hello.exe. If I just do ./hello.exe it runs automatically. How does it happen? why do I not have to do mono hello.exe. Why does it run only with ./hello.exe You can register interpreters for