Questions tagged [nstask]

NSTask Class on OS X API , lets you run another program as a subprocess and monitor that program’s execution

452 questions
-3
votes
1 answer

Swift NStask function

I'm a complete swift noob. Using this code in xcode I get the result I need. I created a command line binary "menubar" that takes several arguments. I normally run it in the terminal "/bin/menubar getip", "/bin/menubar/getuser". I want to create a…
nyitguy
  • 536
  • 4
  • 16
-3
votes
1 answer

Translating AppleScript to Objective-C

I am new to Objective-C and I am trying to translate an AppleScript into Objective-C. Using AStranslate, I get the error Untranslated event 'sysoexec' The following is the applescript I want to translate: do shell script…
1 2 3
30
31