I need a bit of help with NSTask. Also, I am new to Cocoa / Obj-C programming, 开发者_StackOverflowso please bear with me. I am trying to make a directory. Then, remove it. So here is what I have so f
I was wondering if there was a way that I could get notifications of when a system proce开发者_开发技巧ss from /usr/sbin starts and finishes. Is it possible to attach NSTask to the running process wit
If 开发者_如何学运维I terminate (or interrupt) a suspended NSTask, then it still shows up in activity monitor. It isn\'t running because the CPU is 0% but it\'s still taking up memory. Is there a work
I\'m having trouble executing different NSTask\'s. Same launchPath, different arguments. I have a class who\'s instances administer own NSTask objects and depending on arguments those instances were i
I have some code that is attached 开发者_如何学Goto an NSTimer.Around 5 times every second, it interacts with another application (by emulating keystrokes) and when appropriate spits out an NSNotifica
I\'m trying to get the notification NSTaskDidTerminateNotification in my multithreaded app but I can\'t get it working. It does seem to work when I tested it on a single threaded app. In init I have [
I\'ve grown tired of the built-in open Mac OS X command, mostly because it runs programs with your actual user ID instead of the effective user ID; this results in the fact sudo open Foo opens Foo wit
In my program, I\'m grep-ing via NSTask. For some reason, sometimes I would get no results (even thoug开发者_开发技巧h the code was apparently the same as the command run from the CLI which worked jus
Is there a way I can use NSTask to ssh into another computer (in this case 开发者_如何学Goa chumby) and run commands on that device?I also have a password on it.Maybe you should take a look at LibSSH2
I want to run an unknown amount (unknown at compile time) of NSTasks and I want to run an unknown amount (again, at compile time, max. 8) of them simultaneously. So basically I loop through a list of