mirror of
https://github.com/atom/atom.git
synced 2026-02-15 09:05:58 -05:00
Fix the usage of spawn.
This commit is contained in:
@@ -80,7 +80,7 @@ window.installAtomCommand = (commandPath) ->
|
||||
bundledCommandPath = fs.resolve(window.resourcePath, 'atom.sh')
|
||||
if bundledCommandPath?
|
||||
fs.write(commandPath, fs.read(bundledCommandPath))
|
||||
spawn("chmod u+x '#{commandPath}'")
|
||||
spawn('chmod', ['u+x', commandPath])
|
||||
|
||||
window.handleWindowEvents = ->
|
||||
$(window).command 'window:toggle-full-screen', => atom.toggleFullScreen()
|
||||
|
||||
Reference in New Issue
Block a user