[Mono-list] Process in Mono different from .Net

Robert Jordan robertj at gmx.net
Tue Dec 21 15:09:57 EST 2010


On 21.12.2010 19:53, Steve Lessard wrote:
> Some operating systems have a tool for asynchronously launching applications. On
> OS X the command line tool is called "open." On Windows the command line tool is
> called "start."  Is there a similar tool in Linux?

xdg-open. Mono's System.Diagnostics.Process is opening files
using this command (when available). Under Mac OS X "open" will
be used. UseShellExecute must be set to true, which is the
default for the static Process.Start(fileName).

Robert

>
>
>
>
>
>
> ________________________________
> From: madrang<j859 at hotmail.com>
> To: mono-list at lists.ximian.com
> Sent: Mon, December 20, 2010 8:40:09 AM
> Subject: Re: [Mono-list] Process in Mono different from .Net
>
> On Sun, 2010-12-19 at 06:27 -0800, madrang [via Mono] wrote:
>
>> I don't need to know when it is terminating, i just need that the
>> child process outlive its parent. Im currently working on a dock that
>> manage the Os application and on Windows when i quit the dock the apps
>> that was started by the dock stays open but not in Linux. I just want
>> the application that i started to stay alive except if i Kill them my
>> self with Close() or Kill(). Like it is on windows.
>>
>>
>> ______________________________________________________________________
>> View message @
>> http://mono.1490590.n4.nabble.com/Process-in-Mono-different-from-Net-tp3094257p3094474.html?by-user=t
>> t
>> To unsubscribe from Process in Mono different from .Net, click here.
>
> Nobody knows how to start a process that is going to outlive its
> parents ??
>
> I can use invoke or any workaround that is going to work.
>
>
> ________________________________
>   View this message in context: Re: Process in Mono different from .Net
> Sent from the Mono - General mailing list archive at Nabble.com.
>
>
>
>
>
>
>
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list




More information about the Mono-list mailing list