#!/usr/bin/env node

var shell = require('../lib/spawn').shell;
require('../lib/prototype');
var path = require('path');

var cwd = path.resolve(__dirname, '../bin/');
var cmd = 'ls.exe';

(async () => {
    var opts = { cwd }
    var args = process.argv.slice(2)
    args.push(process.cwd())
    var r = await shell({ cmd, args, opts })
    console.log(r.error || r.stdout)

})();