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 96bdafc commit eafdd72Copy full SHA for eafdd72
Sources/Subprocess/Platforms/Subprocess+Darwin.swift
@@ -393,8 +393,8 @@ extension Configuration {
393
)
394
} else {
395
error = SubprocessError(
396
- code: .init(.spawnFailed),
397
- underlyingError: .init(rawValue: spawnAttributeError)
+ code: .init(.failedToChangeWorkingDirectory(self.workingDirectory?.string ?? "unknown")),
+ underlyingError: .init(rawValue: chdirError)
398
399
}
400
throw error
0 commit comments