Skip to content
This repository has been archived by the owner on Jun 27, 2023. It is now read-only.

Do not extend Process class on iOS #145

Merged
merged 2 commits into from
May 24, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions Sources/Core/Process+Execute.swift
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#if !os(iOS)

extension Process {
/// Executes the supplied program in a new process, blocking until the process completes.
/// Any data piped to `stdout` during the process will be returned as a string.
Expand Down Expand Up @@ -98,3 +100,5 @@ extension Pipe {
return string.trimmingCharacters(in: .whitespacesAndNewlines)
}
}

#endif