         self.register(name: "\(process.arguments.joined(separator: " "))", handler:  process.terminate)
     }
 
+    #if !os(iOS) && !os(watchOS) && !os(tvOS)
     public func register(_ process: Foundation.Process) -> RegistrationKey? {
         self.register(name: "\(process.description)", handler: process.terminate(timeout:))
     }
+    #endif
 
     public func deregister(_ key: RegistrationKey) {
         self.registry[key] = nil

    }
}

extension Foundation.Process {
    fileprivate func terminate(timeout: DispatchTime) {
        // send graceful shutdown signal (SIGINT)

        forceKillThread.join()
    }
}
#endif
