[swift-users] NSTask's terminate() is not yet implemented on Linux

Mr Bee pak.lebah at yahoo.com
Tue Jan 24 00:16:10 CST 2017


Hi,
I can't use terminate() function of (NS)Task on Linux because it's not yet implemented. I'm using Swift v.3.0.0 on 64-bit Ubuntu 14.04 LTS. Here's the error message upon calling the function:
fatal error: terminate() is not yet implemented: file Foundation/NSTask.swift, line 407                                                        Illegal instruction
So, is there a way to terminate a process that is launched by (NS)Task on Linux? Or has it already implemented on Swift 3.0.2?
Thank you.
Regards, 
–Mr Bee
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-users/attachments/20170124/edf5f211/attachment.html>


More information about the swift-users mailing list