String (String executableName) { File file = myTempDirectory.newFile(executableName + ".sh", "#!/bin/sh\necho \"$@\"".getBytes(StandardCharsets.UTF_8)); String wslPath = wslRule.getWsl().getWslPath(file.toPath()); assertNotNull("local path: " + file, wslPath); return wslPath; }