mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user