title: app.relaunch([options]) is not working in electron
body: <p>I want to change userData path with path defined by user. So, I'm fetching the path from UI, storing it into a file. So that next time app launches, it changes the path.
  I wanted to restart the app as soon as user has selected the path. I tried app.relaunch() function. But it didn't work, neither it returned error.</p>
  
  <p>I used exact same example mentioned in documentation. <a href="http://electron.atom.io/docs/api/app/#apprelaunchoptions" rel="nofollow">http://electron.atom.io/docs/api/app/#apprelaunchoptions</a></p>