[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



Hi,

Foss User <fossist@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 binary formats with the binfmt_misc
module.  In Debian this is handled by the binfmt-support package.  You
can get a list of binary formats the system knows about with

    /usr/sbin/update-binfmts --display

Regards,
Ansgar

-- 
PGP: 1024D/595FAD19  739E 2D09 0969 BEA9 9797  B055 DDB0 2FF7 595F AD19


Reply to: