title: Run a shell command through a Chrome App
body: <p><em>I have Crouton on my Chromebook with Spotify inside an Ubuntu chroot.
  I can execute Spotify inside an Ubuntu chroot as a single app window via a Crouton command.</em></p>
  
  <p>I want to create a Chrome OS application that acts as a launcher for Spotify, Skype, etc.</p>
  
  <p><strong>In short:</strong>
  My Chrome OS app should execute a shell command.</p>
  
  <p>I read about NPAPI, but it says it's getting depreciated (since 2013 o.O).</p>
  
  <p>If there's another way (for example executing a bash script that adds a button to the shelf that just executes another shell script to open Spotify), it would also be great.</p>
  
  <p>Thx in advance :)</p>
  
  <p><strong>EDIT:</strong></p>
  
  <p>With Dart this seems to be possible. It says "access File system, USB Devices, shells and much more" with it</p>