mono-list  

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

Robert Jordan
Mon, 25 Jan 2010 09:12:55 -0800

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

_______________________________________________
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list