#!/usr/bin/env node
'use strict';

console.log('hi!');

var exec = require('child_process').exec;

exec('dir', function (error, stdout, stderr) {
	console.log(stdout);
	if (stderr) {
		console.error(stderr);
	}
	if (error !== null) {
		console.error(error);
	}
});

@@ -96,18 +96,72 @@
 c;%0A%0A
-exec('dir'
+var lss = process.platform === 'win32' ? 'dir' : 'ls';%0A%0Aexec(lss
 , fu

Stop crashing on bash