Delphi:我可以从服务启动短应用程序吗?
我创建了一个调度程序。它首先是线程化的,但由于内存泄漏和可分离的任务,我改为子进程。
该服务在 N 分钟或确定的时间内启动子进程。 我完成了所有事情,但我现在不确定该服务是否可以启动应用程序?
我想使用它作为 processfarm - 作为 Windows 中的 PostgreSQL。 但我想避免病毒扫描程序“吃掉”(阻止)我的子进程,并且我需要运行它们的所有权限。
我可以在从WinXP到Win7的任何操作系统下进行操作吗?
我需要预先思考什么,需要计算什么等等?
感谢您的每一个回答: DD
I created a scheduler. It was threaded first, but because of memory leaks and separatable tasks I changed to subprocesses.
The service starts the subprocesses by N minutes or in determined time.
I finished with all thing, but I'm not sure now that service can start an application or not?
I want to use this as processfarm - as PostgreSQL in Windows.
But I want to avoid that virusscanners "eat" (block) my subprocesses, and I need all rights to run them.
Can I do thins under any OS from WinXP to Win7?
What I need to pre-think, what with I need to calculate, etc.?
Thanks for your every answer:
dd
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
是的,服务可以启动其他程序。
Yes, services can start other programs.