> On Aug 21, 2017, at 4:46 AM, Tatsuyuki Kobayashi <[email protected]> 
> wrote:
> 
> I think your process terminates immediately after calling ‘task.resume()’.
> 
> You can find the same issue at 
> https://stackoverflow.com/questions/31944011/how-to-prevent-a-command-line-tool-from-exiting-before-asynchronous-operation-co
>  
> <https://stackoverflow.com/questions/31944011/how-to-prevent-a-command-line-tool-from-exiting-before-asynchronous-operation-co>.

Thank you. I ended up using a dispatch-semaphore.

— 
Daryle Walker
Mac, Internet, and Video Game Junkie
darylew AT mac DOT com 

_______________________________________________
swift-users mailing list
[email protected]
https://lists.swift.org/mailman/listinfo/swift-users

Reply via email to