diff --git a/SwiftShellTests/Scripts/Stream out.swift b/SwiftShellTests/Scripts/Stream out.swift deleted file mode 100644 index 5097ec1..0000000 --- a/SwiftShellTests/Scripts/Stream out.swift +++ /dev/null @@ -1,4 +0,0 @@ - -import SwiftShell - -run("ls") |> standardoutput diff --git a/SwiftShellTests/Scripts/stream_out.swift b/SwiftShellTests/Scripts/stream_out.swift new file mode 100644 index 0000000..1ae8f10 --- /dev/null +++ b/SwiftShellTests/Scripts/stream_out.swift @@ -0,0 +1,6 @@ + +import SwiftShell + +run("echo this is streamed") |> run("wc -w") |> standardoutput + +run("ls") |> standardoutput