Files
SwiftShell/SwiftShellTests/Scripts/exitswhenopeningnon-existentfile.swift
T
Kare Morstol 91abb8c47c Update test scripts.
The rest are waiting for reading and writing files to be implemented.
2015-09-08 18:06:49 +02:00

7 lines
156 B
Swift
Executable File

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