获取在 mac 中启动时运行的 python 脚本
如何让 python 脚本在每次计算机启动时运行?
How would I get a python script to run everytime the computer boots?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
如何让 python 脚本在每次计算机启动时运行?
How would I get a python script to run everytime the computer boots?
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(2)
如何在启动时运行 shell 脚本 (OSX)
以及在该脚本中只需调用您的程序
编辑:自 2010 年以来,上述链接已经失效。但自 2010 年以来,出现了一些描述类似方法的答案,例如。
登录 mac 时运行脚本
如何让 shell 脚本在启动时运行 - Yosemite
How to run a shell script on startup (OSX)
And in that script just call your program
EDIT: Since 2010 the above link has gone sour. But also since 2010 have some answers popped up the describe similar methods, eg.
Running script upon login mac
How to get shell scripts to run on startup - Yosemite
您可以创建一个登录挂钩(注意,它以root身份运行)
You could create a login hook (be careful, it runs as root)