We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 40bc8a5 commit 83bd0d5Copy full SHA for 83bd0d5
Foundation/ProcessInfo.swift
@@ -45,7 +45,7 @@ open class ProcessInfo: NSObject {
45
let equalSign = Int32(UInt8(ascii: "="))
46
var env: [String : String] = [:]
47
var idx = 0
48
- let envp = environ
+ let envp = _CFEnviron()
49
50
while let entry = envp.advanced(by: idx).pointee {
51
if let value = strchr(entry, equalSign) {
0 commit comments