diff --git a/Sources/Merge/Intramodular/Process/SystemShell.swift b/Sources/Merge/Intramodular/Process/SystemShell.swift index b891a55..5b17004 100644 --- a/Sources/Merge/Intramodular/Process/SystemShell.swift +++ b/Sources/Merge/Intramodular/Process/SystemShell.swift @@ -40,7 +40,7 @@ extension SystemShell { arguments: arguments, currentDirectoryURL: currentDirectoryURL?._fromURLToFileURL() ?? self.currentDirectoryURL, environmentVariables: self.environmentVariables.merging(environmentVariables, uniquingKeysWith: { $1 }), - options: options ?? [] + options: options ) return try await process.run() diff --git a/Sources/Merge/Intramodular/Process/_AsyncProcess.swift b/Sources/Merge/Intramodular/Process/_AsyncProcess.swift index fb99c7a..08c7e41 100644 --- a/Sources/Merge/Intramodular/Process/_AsyncProcess.swift +++ b/Sources/Merge/Intramodular/Process/_AsyncProcess.swift @@ -621,7 +621,7 @@ extension _AsyncProcess { arguments: [String], currentDirectoryURL: URL? = nil, environmentVariables: [String: String] = [:], - options: [_AsyncProcess.Option] + options: [_AsyncProcess.Option]? ) throws { try self.init( existingProcess: nil, @@ -639,7 +639,7 @@ extension _AsyncProcess { arguments: [String], currentDirectoryURL: URL? = nil, environmentVariables: [String: String] = [:], - options: [_AsyncProcess.Option] + options: [_AsyncProcess.Option]? ) throws { try self.init( executableURL: launchPath.map({ URL(fileURLWithPath: $0) }),