mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-12-26 16:14:16 +03:00
added some Process methods (just copying nodejs)
This commit is contained in:
parent
05599d296b
commit
fdcdcde2d7
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user