Search code examples
delphiservicesubprocessrights

Delphi: Can I start short apps from a service?


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


Solution

  • Yes, services can start other programs.