WIP: Start on Project.prototype.scan

Right now it calls out to grep and parses the output, but doesn't do anything with it just yet.
This commit is contained in:
Nathan Sobo
2012-07-11 18:50:38 -06:00
parent db6692b2f6
commit 3854f73c84
5 changed files with 29 additions and 0 deletions

View File

@@ -14,6 +14,7 @@ class ChildProccess
options.stderr = @bufferLines(options.stderr) if options.stderr
$native.exec command, options, (exitStatus, stdout, stderr) ->
console.log exitStatus
if exitStatus != 0
error = new Error("Exec failed (#{exitStatus}) command '#{command}'")
error.exitStatus = exitStatus