killing background processes with UNIX in cocoa?
Subject : killing background processes with UNIX in cocoa?
From: Nathaniel Gottlieb-Graham <email@hidden >
Date: Thu, 31 Jan 2008 01:44:57 -0500
Delivered-to: email@hidden
Delivered-to: email@hidden
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to:content-type:content-transfer-encoding:mime-version:subject:date:x-mailer; bh=lmqmsmg6jP5vqUOzZgqydbPsUYfiBlthboOvCm21MgM=; b=ubMNILtvV7GemS2ZWFJFVGl9JCs+Jy6HsV/Ln9tx2EWI32WouQiFc5CsqxVDCpjBSZnLBX2dyxGIVHlVC5kLOKS8mTbh0pKYf4myP9DVGXv3xZDTBPWld3A0ma3l5wd4JUizD+Ag2869Phg8Qx61xd4OE3avNiWII5YwzB+uFTo=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:content-type:content-transfer-encoding:mime-version:subject:date:x-mailer; b=EezWW8acEPg+mZ548k6MauKG4Qoyzio/A7pov40o02gGUBz+rH2w2HPqHlDDpIowI7s07fW6qmPEGV0ZO0cA9aKLby+r4V0YledUsXgwH27LuCmevfgiRF3vAs5pYIBVU8dFZ0ZUTKw+CUxUWorgDdTkaz6iAbftOCrvIG4Z6ec=
I'm probably being really stupid here, how in Cocoa do you run UNIX
commands? I'm re-writing a hacked-together applescript I made once
into an actual application, and at once point, it uses "do shell
script". This seems slightly kludgy, so is there always a better
solution? What I want to do is kill a specific background process and
than restart it.
Thanks,
Nathaniel
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden
This email sent to email@hidden
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.