diff --git a/Sources/MMIOUtilities/ShellCommand.swift b/Sources/MMIOUtilities/ShellCommand.swift index 5739d1f0..bd5b3018 100644 --- a/Sources/MMIOUtilities/ShellCommand.swift +++ b/Sources/MMIOUtilities/ShellCommand.swift @@ -9,6 +9,8 @@ // //===----------------------------------------------------------------------===// +#if !os(WASI) + import Dispatch import Foundation @@ -104,3 +106,5 @@ public func sh( return outputData.withLock { $0 }.asUTF8String() } + +#endif