#!/usr/bin/env node

var spawn = require('../index.js');

var args = process.argv.slice(2);
var cmd = '';
while (/^[A-Z_]+\=[^ \=]+$/.test(args[0])) {
  cmd += args.shift() + ' ';
}
cmd += args.shift();

spawn(cmd, args, { stdio: 'inherit' });