Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Catalog · How the catalog works

Random project

process-guardian

Launch and watch another process, restarting it if it crashes

View on GitHub

Anyone may press Interesting, signed in or not. It helps others find this project.

Member rating

No ratings yet.

Sign in to rate this project.

README

Process guardian

Runs one or more processes and restarts them, if them crashes.

Config file

pascal
[MyApp]
command = c:\bin\myapp.exe
params = xxx yyy
check-network = yes
retries = 5
working-dir = C:\bin

[MyAnotherApp]
command = c:\Windows\other.exe
working-dir = C:\windows