SimpleCommand.js
function SimpleCommand(exec, args, workdir) {
	this.exec = /^win/.test(process.platform) ? findWindowsExec(exec) : exec;
	this.args = args;
	this.workdir = workdir;
	this.setOptions();
	this.commandLine = util.format('%s %s', this.exec, this.args.join(' '));
}
function SimpleCommand(exec, args, workdir) {
	this.exec = /^win/.test(process.platform) ? findWindowsExec(exec) : exec;
	this.args = args;
	this.workdir = workdir;
	this.setOptions();
	this.commandLine = util.format('%s %s', this.exec, this.args.join(' '));
}
function SimpleCommand ( exec , args , workdir ) { this . exec = / ^win / . test ( process . platform ) ? findWindowsExec ( exec ) : exec ; this . args = args ; this . workdir = workdir ; this . setOptions ( ) ; this . commandLine = util . format ( '%s %s' , this . exec , this . args . join ( ' ' ) ) ; }
SimpleCommand - Constructs a command to run.

@param  {string} **exec**    the program to run
@param  {array} **args**    arguments to pass to the program <br/>
__Note:__ the program is executed directly, i.e. no subshell is launched to process globs in args
@param  {string} **workdir** working directory from which to run the command
SimpleCommand - Constructs a command to run .