From 3296674605bde64823c03bd9dd9dd5dada45dc90 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Tue, 18 Nov 2014 14:40:32 -0800 Subject: [PATCH] :memo: Doc spawn --- src/browser/squirrel-update.coffee | 2 ++ 1 file changed, 2 insertions(+) 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)