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 服务
基础教程推荐
- 将数据集转换为列表 2022-01-01
- 如果条件可以为空 2022-01-01
- 获取C#保存对话框的文件路径 2022-01-01
- 从 C# 控制相机设备 2022-01-01
- 重新排序 WPF TabControl 中的选项卡 2022-01-01
- C# 9 新特性——record的相关总结 2023-04-03
- SonarQube C# 分析失败“不是指针的有效行偏移" 2022-01-01
- 更新 Visual Studio 中的 DataSet 结构以匹配新的 SQL 数据库结构 2022-01-01
- 在 VB6 或经典 ASP 中使用 .NET 2022-01-01
- Mono https webrequest 失败并显示“身份验证或解密失败" 2022-01-01
