File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -216,6 +216,12 @@ extension OutputProtocol where Self == FileDescriptorOutput {
216216 )
217217 }
218218
219+ // TODO: remove for 1.0
220+ @available ( * , deprecated, renamed: " currentStandardOutput " )
221+ public static var standardOutput : Self {
222+ return currentStandardOutput
223+ }
224+
219225 /// Creates a subprocess output that writes to the current process's standard error.
220226 ///
221227 /// The file descriptor isn't closed afterwards.
@@ -225,6 +231,12 @@ extension OutputProtocol where Self == FileDescriptorOutput {
225231 closeAfterSpawningProcess: false
226232 )
227233 }
234+
235+ // TODO: remove for 1.0
236+ @available ( * , deprecated, renamed: " currentStandardError " )
237+ public static var standardError : Self {
238+ return currentStandardError
239+ }
228240}
229241
230242extension OutputProtocol where Self == StringOutput < UTF8 > {
You can’t perform that action at this time.
0 commit comments