How to restart a crashed chrome app?-Collection of common programming errors

I have written a chrome app to work at a kiosk system which gets started by the –app-id command-line switch. Unfortunately it is crashing a very few times (like twice a day) and the crashes are non-repeatable. Now i am trying to ensure it will get restarted after crash. So i wrote a batch script which checks if chrome is running and will restart the app if it’s not.

My problem is that if the app crashes it will become deactivated on chrome, so when the shortcut gets called, it only opens a browser window instead of running the (deactivated) app. The folowing options i have in mind to solve my problem:

a) Disabling the behavour of chrome of disabling extensions which crashed

b) Re-enabling my extension/app on launch by command-line switch

c) Using the –load-and-launch-app command-line switch

With a) and b) i didn’t find a soultion with web search. At c) i don’t know how to set the path of –load-and-launch-app on Windows. It seems to expect a relative path but from which path? I tried every possibility but couldn’t get it. So furthermore i don’t know if it will solve my prob or if Chrome will also deactivate the app by it’s path?

Does anybody have an idea how to solve this?