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 2f78353 commit 11fabd3Copy full SHA for 11fabd3
Sources/TSCBasic/Process.swift
@@ -346,7 +346,7 @@ public final class Process: ObjectIdentifierProtocol {
346
347
#if os(Windows)
348
_process = Foundation.Process()
349
- _process?.arguments = arguments
+ _process?.arguments = Array(arguments.dropFirst()) // Avoid including the executable URL twice.
350
_process?.executableURL = URL(fileURLWithPath: arguments[0])
351
_process?.environment = environment
352
0 commit comments