Repo // Fix an issue with shell().
This commit is contained in:
parent
21c55f6b5b
commit
9f8338acbf
|
@ -162,6 +162,8 @@ class AppDelegate: NSWindowController, NSApplicationDelegate {
|
|||
|
||||
if #available(macOS 10.13, *) {
|
||||
try task.run()
|
||||
} else {
|
||||
task.launch()
|
||||
}
|
||||
|
||||
let data = pipe.fileHandleForReading.readDataToEndOfFile()
|
||||
|
|
|
@ -41,6 +41,8 @@ extension NSApplication {
|
|||
|
||||
if #available(macOS 10.13, *) {
|
||||
try task.run()
|
||||
} else {
|
||||
task.launch()
|
||||
}
|
||||
|
||||
let data = pipe.fileHandleForReading.readDataToEndOfFile()
|
||||
|
|
Loading…
Reference in New Issue