Thanks!The Thing is, I copied the phrase from the other User. It´s clear, that he doesn´t use my textline.He posted this:let task = NSTask()task.launchPath = "/usr/sbin/sysctl"task.arguments = ["-w", "net.inet.tcp.delayed_ack=0"]let pipe = NSPipe()task.standardOutput = pipetask.standardError = pipetask.launch()task.waitUntilExit()let data = pipe.fileHandleForReading.readDataToEndOfFile()let output: String = NSString(data: data, encoding: NSUTF8StringEncoding) as! Stringfor the line " sudo sysctl -w net.inet.tcp.delayed_ack=0"But in my line is there no User.I tried to use "task.arguments", but it doesnt work.Can you help me by this Situation?
Post
Replies
Boosts
Views
Activity
" defaults write com.apple.mail DisableInlineAttachmentViewing -bool yes " (its for Mail)
Thanks for your help. I know, that´s normally not the best way.Perhaps I´m to stupid to change it in the normal preferences. But I didn´t see it in google how to change it.