diff --git a/src/browser/squirrel-update.coffee b/src/browser/squirrel-update.coffee index a9b7441a5..7c90662db 100644 --- a/src/browser/squirrel-update.coffee +++ b/src/browser/squirrel-update.coffee @@ -14,6 +14,8 @@ directoryKeyPath = 'HKCU\\Software\\Classes\\directory\\shell\\Atom' backgroundKeyPath = 'HKCU\\Software\\Classes\\directory\\background\\shell\\Atom' environmentKeyPath = 'HKCU\\Environment' +# Spawn a command and invoke the callback when it completes with an error +# and the output from standard out. spawn = (command, args, callback) -> spawnedProcess = ChildProcess.spawn(command, args)