Permalink
Browse files

Add a warning about possible error

  • Loading branch information...
pieter committed Dec 1, 2008
1 parent ea0b28d commit 0b65b54f7f4615c18c036b60806a94a2a59658e5
Showing with 1 addition and 1 deletion.
  1. +1 −1 PBEasyPipe.m
View
@@ -106,7 +106,7 @@ + (NSString*) outputForCommand: (NSString*) cmd withArgs: (NSArray*) args inDir
NSFileHandle* handle = [task.standardOutput fileHandleForReading];
[task launch];
-
+#warning This can cause a "Bad file descriptor"... when?
NSData* data = [handle readDataToEndOfFile];
NSString* string = [[NSString alloc] initWithData:data encoding:NSUTF8StringEncoding];

0 comments on commit 0b65b54

Please sign in to comment.