     let pid = NSProcessInfo().processIdentifier
     
     let task = NSTask()
-    task.launchPath = path
+    task.launchPath = "/bin/bash"
+    task.arguments = ["-c", "xcrun swift \"\(path)\""]
     
     task.launch()
     


    var functionContentComponents: [String] = []
    functionContentComponents.append("var components: [String] = [\"// This file is autogenerated.\\n// Take a look at `Preprocessor` target in RxSwift project \\n\"]\n")
    functionContentComponents.append("components.append(\(escape(components[0]))\n")
    
    for codePlusSuffix in (components[1 ..< components.count]) {
        let codePlusSuffixSeparated = codePlusSuffix.componentsSeparatedByString("%>")


let files = fileManager.subpathsAtPath(sourceFilesRoot)

var generateAllFiles = ["// Generated code\n", "import Foundation\n"]

for file in files! {
    if (file.pathExtension ?? "") != "tt" {
        continue
    }
    
