开发者

nstask

0
  • Cocoa NSTask help

    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[详细]

    2023-01-06 03:11 分类:问答
  • Detecting whether a process starts and finishes with notifications in cocoa

    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[详细]

    2023-01-06 02:39 分类:问答
  • Terminating suspended NSTask

    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[详细]

    2022-12-31 22:57 分类:问答
  • NSTask executed only once

    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[详细]

    2022-12-30 06:40 分类:问答
  • NSTask or NSThread?

    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[详细]

    2022-12-29 09:23 分类:问答
  • NSNotification and Multithreading

    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 [[详细]

    2022-12-25 12:20 分类:问答
  • How to open a document using an application launched via NSTask?

    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[详细]

    2022-12-24 12:52 分类:问答
  • NSTask string encoding problem

    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[详细]

    2022-12-24 05:02 分类:问答
  • Use NSTask to ssh into another computer

    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[详细]

    2022-12-22 06:54 分类:问答
  • Program structure regarding NSTask

    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[详细]

    2022-12-21 14:28 分类:问答