49a09a
--- swiftpm/Sources/Basic/Process.swift.orig	2019-03-13 14:27:25.426760197 -0500
49a09a
+++ swiftpm/Sources/Basic/Process.swift	2019-03-13 14:28:45.656837626 -0500
49a09a
@@ -327,7 +327,7 @@
49a09a
         let devNull = strdup("/dev/null")
49a09a
         defer { free(devNull) }
49a09a
         // Open /dev/null as stdin.
49a09a
-        posix_spawn_file_actions_addopen(&fileActions, 0, devNull, O_RDONLY, 0)
49a09a
+        posix_spawn_file_actions_addopen(&fileActions, 0, devNull!, O_RDONLY, 0)
49a09a
 
49a09a
         var outputPipe: [Int32] = [0, 0]
49a09a
         var stderrPipe: [Int32] = [0, 0]
49a09a
@@ -350,7 +350,7 @@
49a09a
 
49a09a
         let argv = CStringArray(arguments)
49a09a
         let env = CStringArray(environment.map({ "\($0.0)=\($0.1)" }))
49a09a
-        let rv = posix_spawnp(&processID, argv.cArray[0], &fileActions, &attributes, argv.cArray, env.cArray)
49a09a
+        let rv = posix_spawnp(&processID, argv.cArray[0]!, &fileActions, &attributes, argv.cArray, env.cArray)
49a09a
 
49a09a
         guard rv == 0 else {
49a09a
             throw SystemError.posix_spawn(rv, arguments)