nspipe Questions
1
Solved
I'm trying to use a Pipe's fileHandleForReading's readabilityHandler to read both the standardOutput and standardError of a Process. However, the moment the terminationHandler is called is actually...
Dropout asked 14/9, 2018 at 15:52
2
Solved
I am writing a Cocoa application which needs to execute a UNIX program and read its output, line by line, as they are produced. I set up a NSTask and NSPipe as such:
task = [[NSTask alloc] init];
...
Dunc asked 15/11, 2012 at 5:58
1
I'm currently working on an application that collects information from text fields in an OS X application, then access the openssl binary to generate a CSR and a Private Key based on those text fie...
2
Solved
I'm trying to run a simple bash script using NSTask and direct the output to a text view. Once the task is executed, the CPU usage of my app is 100%, even though it's a simple echo (for now).
I cr...
Hepta asked 6/12, 2012 at 15:44
1
Solved
I need to realize a communication between two threads using NSPipe channels, the problem is that I don't need to call terminal command by specifying this methods.
[task setCurrentDirectoryPath:@"....
Sliest asked 19/12, 2012 at 21:46
1
© 2022 - 2024 — McMap. All rights reserved.