[swift-users] why NSTask is Process on Apple platforms but it's Task on Linux?

Peters, Brandon bap04e at my.fsu.edu
Sun Nov 27 10:29:47 CST 2016


Mr Bee,

My best guest is that it is NSTask on MacOS because the class contains some Mac-specific stuff, enough to justify the distinction.

On Nov 27, 2016, at 12:42 AM, Mr Bee via swift-users <swift-users at swift.org<mailto:swift-users at swift.org>> wrote:

Hi all,

It took me a few hours to find out why Process is unknown on Linux while it's available on macOS/iOS. Turned out, it's still called Task. Why is that? Is there anything like this on Swift Standard Library and Foundation for Linux?

Thank you.

Regards,

–Mr Bee

_______________________________________________
swift-users mailing list
swift-users at swift.org<mailto:swift-users at swift.org>
https://lists.swift.org/mailman/listinfo/swift-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-users/attachments/20161127/8aac06a7/attachment.html>


More information about the swift-users mailing list