Equivalent of a Windows Service on OSX with Mono(等效于带有 Mono 的 OSX 上的 Windows 服务)
问题描述
我需要做什么才能让我的 .NET-Mono 应用程序在 OSX 上作为后台进程运行并在操作系统启动时启动?(假设应用程序已经准备好在 OSX 上运行)
What do I need to do to have my .NET-Mono application run as a background process on OSX and start when the OS starts up? (Assuming the application is otherwise ready to go on OSX)
为可在 Windows 和 OS X 上运行的 .NET 应用构建安装程序?
推荐答案
正如 ShuggyCoUk 所说,那篇文章已经过时了.在 10.4 中,OS X 做了一些根本性的改变.您要阅读的指南是系统启动编程主题.简短的回答是使用 launchd".
As ShuggyCoUk notes, that article is very out of date. In 10.4, OS X made some some radical changes. The guide you want to read is System Startup Programming Topics. The short answer is "use launchd."
这篇关于等效于带有 Mono 的 OSX 上的 Windows 服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:等效于带有 Mono 的 OSX 上的 Windows 服务


基础教程推荐
- SSE 浮点算术是否可重现? 2022-01-01
- 如何在 IDE 中获取 Xamarin Studio C# 输出? 2022-01-01
- 将 XML 转换为通用列表 2022-01-01
- rabbitmq 的 REST API 2022-01-01
- c# Math.Sqrt 实现 2022-01-01
- 将 Office 安装到 Windows 容器 (servercore:ltsc2019) 失败,错误代码为 17002 2022-01-01
- MS Visual Studio .NET 的替代品 2022-01-01
- 为什么Flurl.Http DownloadFileAsync/Http客户端GetAsync需要 2022-09-30
- 有没有办法忽略 2GB 文件上传的 maxRequestLength 限制? 2022-01-01
- 如何激活MC67中的红灯 2022-01-01