         try withHijackedBufferedErrorStream(in: path) { errorBuffer in
 #if os(Windows)
           let status = ProcessResult.ExitStatus.terminated(code: 0)
+          let kind = "finished"
+          let signal = ""
 #else
           let status = ProcessResult.ExitStatus.signalled(signal: 9)
+          let kind = "signalled"
+          let signal = """
+          ,
+            \"signal\" : 9
+          """
 #endif
           let resultSignalled = ProcessResult(arguments: args!,
                                               environment: ProcessEnv.vars,

          """
            "pid" : -1000,
          """))
          XCTAssertTrue(errorOutput.contains(
          """
            \"inputs\" : [
              \"\\/WorkDir\\/main.swift\"
            ],
          """))
          XCTAssertTrue(errorOutput.contains(
          """
            "pid" : -1001,
          """))
          XCTAssertTrue(errorOutput.contains(
          """
            \"inputs\" : [
              \"\\/WorkDir\\/test1.swift\"
            ],
          """))
          XCTAssertTrue(errorOutput.contains(
          """
            "pid" : -1002,
          """))
          XCTAssertTrue(errorOutput.contains(
          """
            \"inputs\" : [
              \"\\/WorkDir\\/test2.swift\"
            ],
          """))


      try withTemporaryDirectory { path in
        try withHijackedBufferedErrorStream(in: path) { errorBuffer in
          let resolver = try ArgsResolver(fileSystem: localFileSystem)

          let workdir: AbsolutePath =
                try localFileSystem.currentWorkingDirectory.map { AbsolutePath("/WorkDir", relativeTo: $0) } ?? AbsolutePath(validating: "/WorkDir")

          var driver = try Driver(args: ["swiftc", "-o", "test.o",
                                         "main.swift", "test1.swift", "test2.swift",
                                         "-enable-batch-mode", "-driver-batch-count", "1",
                                         "-working-directory", workdir.pathString])
          let jobs = try driver.planBuild()
          let compileJob = jobs[0]
          let args : [String] = try resolver.resolveArgumentList(for: compileJob, forceResponseFiles: false)
