• 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
Submit background task
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Submit background task


  • Subject: Submit background task
  • From: John Nairn <email@hidden>
  • Date: Thu, 16 Jun 2005 16:24:31 +0200

What is the best way (NSTask or other) to submit a background process that will continue running even if the submitting application quits? I tried an NSTask adding arguments ">", "output file name", and "&", to redirect to a file and run in background, but NSTask just passed the new arguments to the main task. I also thought of writing a script file to submit a background job and then executing the script file in an NSTask. Maybe there is a better way?

---------------
John Nairn (1-801-581-3413, FAX:1-801-581-4816)
Web Page: http://www.mse.utah.edu/~nairn

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


  • Follow-Ups:
    • Re: Submit background task
      • From: Sherm Pendley <email@hidden>
    • Re: Submit background task
      • From: "M. Uli Kusterer" <email@hidden>
  • Prev by Date: Re: Modal dialog alternatives?
  • Next by Date: NSFormFeedCharacter does not trigger container break
  • Previous by thread: Re: Purpose of [NSAutoreleasePool drain] ?
  • Next by thread: Re: Submit background task
  • Index(es):
    • Date
    • Thread