mirror of
https://github.com/atom/atom.git
synced 2026-01-23 05:48:10 -05:00
added some Process methods (just copying nodejs)
This commit is contained in:
@@ -126,6 +126,13 @@ Dir =
|
||||
_.map OSX.NSFileManager.defaultManager.subpathsAtPath(path), (entry) ->
|
||||
"#{path}/#{entry}"
|
||||
|
||||
Process =
|
||||
cwd: ->
|
||||
OSX.NSFileManager.defaultManager.currentDirectoryPath()
|
||||
|
||||
env: ->
|
||||
OSX.NSProcess.processInfo.environment()
|
||||
|
||||
this.Chrome = Chrome
|
||||
this.File = File
|
||||
this.Dir = Dir
|
||||
|
||||
Reference in New Issue
Block a user