-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
wait() on ProcessFuture & removing some comments
- Loading branch information
Showing
6 changed files
with
11 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,3 @@ | ||
// | ||
// Executor.swift | ||
// | ||
// | ||
// Created by Ondrej Rafaj on 04/07/2019. | ||
// | ||
|
||
import Foundation | ||
import NIO | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,3 @@ | ||
// | ||
// Exit.swift | ||
// | ||
// | ||
// Created by Ondrej Rafaj on 17/07/2019. | ||
// | ||
|
||
import Foundation | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import NIO | ||
|
||
|
||
extension ProcessFuture { | ||
|
||
@discardableResult | ||
public func wait() throws -> Output { | ||
return try future.wait() | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,3 @@ | ||
// | ||
// ProcessFuture.swift | ||
// | ||
// | ||
// Created by Ondrej Rafaj on 17/07/2019. | ||
// | ||
|
||
import Foundation | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,3 @@ | ||
// | ||
// ShellError.swift | ||
// | ||
// | ||
// Created by Ondrej Rafaj on 17/07/2019. | ||
// | ||
|
||
import Foundation | ||
import WebErrorKit | ||
|
||
|