Add a warning about possible error

This commit is contained in:
Pieter de Bie
2008-12-01 13:07:06 +01:00
parent ea0b28d52c
commit 0b65b54f7f
+1 -1
View File
@@ -106,7 +106,7 @@
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];