Skip to content
This repository was archived by the owner on Apr 14, 2025. It is now read-only.

Commit 99284fa

Browse files
committed
wait() on ProcessFuture & removing some comments
1 parent 02c8b35 commit 99284fa

File tree

6 files changed

+11
-35
lines changed

6 files changed

+11
-35
lines changed

Sources/ExecutorKit/Executor.swift

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,3 @@
1-
//
2-
// Executor.swift
3-
//
4-
//
5-
// Created by Ondrej Rafaj on 04/07/2019.
6-
//
7-
81
import Foundation
92
import NIO
103

Sources/ExecutorKit/Exit.swift

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,3 @@
1-
//
2-
// Exit.swift
3-
//
4-
//
5-
// Created by Ondrej Rafaj on 17/07/2019.
6-
//
7-
81
import Foundation
92

103

Sources/ExecutorKit/Exports.swift

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,3 @@
1-
//
2-
// Exports.swift
3-
//
4-
//
5-
// Created by Ondrej Rafaj on 17/07/2019.
6-
//
7-
81
@_exported import WebErrorKit
92
@_exported import protocol NIO.EventLoop
103
@_exported import class NIO.EventLoopFuture
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import NIO
2+
3+
4+
extension ProcessFuture {
5+
6+
@discardableResult
7+
public func wait() throws -> Output {
8+
return try future.wait()
9+
}
10+
11+
}

Sources/ExecutorKit/ProcessFuture.swift

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,3 @@
1-
//
2-
// ProcessFuture.swift
3-
//
4-
//
5-
// Created by Ondrej Rafaj on 17/07/2019.
6-
//
7-
81
import Foundation
92

103

Sources/ExecutorKit/ShellError.swift

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,3 @@
1-
//
2-
// ShellError.swift
3-
//
4-
//
5-
// Created by Ondrej Rafaj on 17/07/2019.
6-
//
7-
81
import Foundation
92
import WebErrorKit
103

0 commit comments

Comments
 (0)