 typealias Process = TSCBasic.Process
 
 class ProcessTests: XCTestCase {
-    func script(_ name: String) -> String {
-        return AbsolutePath(path: #file).parentDirectory.appending(components: "processInputs", name).pathString
-    }
-
     func testBasics() throws {
         do {
             let process = Process(args: "echo", "hello")


        // This script will block if the streams are not read.
        do {
            let result = try Process.popen(args: script("deadlock-if-blocking-io"))
            let count = 16 * 1024
            XCTAssertEqual(try result.utf8Output(), String(repeating: "1", count: count))
            XCTAssertEqual(try result.utf8stderrOutput(), String(repeating: "2", count: count))

        }

        do {
            let output = try Process.checkNonZeroExit(scriptName: "exit4")
            XCTFail("Unexpected success \(output)")
        } catch ProcessResult.Error.nonZeroExit(let result) {
            XCTAssertEqual(result.exitStatus, .terminated(code: 4))
