Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我大部分时间都是 Windows 开发人员,但现在混合了 Mac,我需要支持我们公司认为不适合在他们的系统上运行的所有被阻止的应用程序。在 Windows 中,我使用了我编写的一个在后台运行的小应用程序,它只会杀死任何包含指定标题的窗口。有人可以帮忙写一些在 OS X 中能做同样事情的脚本吗?
无法为您制作脚本,但将其包含killall在您的搜索中可能会有所帮助。“killall 实用程序会杀死按名称选择的进程......”
killall