[Mono-list] Change mono process name in ps/top

Robert Jordan robertj at gmx.net
Mon Jan 25 12:12:20 EST 2010


On 25.01.2010 17:50, Jonathan Pryor wrote:
> On Sun, 2010-01-24 at 16:55 +0100, Robert Jordan wrote:
>> Yes, native applications with access to main's argv[0] can achieve
>> it easily under Linux, but managed apps simply cannot access this
>> location.
>
> System.Environment.GetCommandLineArgs()[0], anyone?  This will return
> the value of C main's argv[0] to managed code.  Or does this need to be
> overwritten and changed?

Did you read the subject of this thread? :)

Robert



More information about the Mono-list mailing list