Stateful behaviour with guest exe on service fabric
<p>I have a guest exe where it expects folder name to be passed during startup, which it then uses as a "working" directory for writing data, logs etc.</p>

<p>If I wanted to host this exe in service fabric and make it reliable and stateful do I just pass the exe a UNC path to a common location where it would write to no matter which VM the instance was running on ?
Or are there better ways of managing this ?</p>