I want to write a simple application (i.e. starter) that starts my main application and further monitors its state and restarts it, if it crashes/exits.
Its very simple.