Using EcmaScript 6 Proxies & Generators to run shell commands