• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Using NSURLSession in a command line tool?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Using NSURLSession in a command line tool?


  • Subject: Using NSURLSession in a command line tool?
  • From: Daryle Walker <email@hidden>
  • Date: Mon, 16 Mar 2015 04:10:58 -0400

How should something like a NSURLSession be used in a command-line tool? Its actions take time, so a straight CLI program will end when the task is being started. I guess something like a run loop needs to be maintained. I need the results of the task to determine the return code, so I can’t just fire and forget.

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

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Using NSURLSession in a command line tool?
      • From: "Quinn \"The Eskimo!\"" <email@hidden>
  • Prev by Date: configuration profile updates
  • Next by Date: Re: Using NSURLSession in a command line tool?
  • Previous by thread: configuration profile updates
  • Next by thread: Re: Using NSURLSession in a command line tool?
  • Index(es):
    • Date
    • Thread