On 24.01.2013 01:02, mickeyf wrote:
I need a simple app that checks whether a different one is running, and if
not, restarts it.

If I'm correctly understanding the replies to  this post
<http://mono.1490590.n4.nabble.com/Fail-to-set-socket-send-amp-receive-timeout-td1493357.html#a1493359>
, and depending on who is correct, System.Diagnostics.Process.GetProcess()
can find either

1) processes started by the same user, or
2) processes started by mono

...but not any arbitrary process.

That was the situation 7 years ago ;) Nowadays you should be able to
enum all processes, at least with a decent Mono version (> 2.8?)

Robert


_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to