Files
SwiftShell/SwiftShellTests/Scripts/exitswhenopeningnon-existentfile.swift
T
2014-09-08 18:33:46 +02:00

7 lines
143 B
Swift
Executable File

#!/usr/bin/env swiftshell
import SwiftShell
let file = open("file which does not exist")
print("this is not printed, the script has exited")