Output better debug info for NSTask action

This commit is contained in:
Pieter de Bie
2008-06-16 02:01:52 +02:00
parent 3a672aee16
commit bd165e7d29
+1 -1
View File
@@ -23,7 +23,7 @@
task.arguments = args;
if (dir)
task.currentDirectoryPath = dir;
NSLog(@"Starting cmd %@ in dir %@", cmd, dir);
NSLog(@"Starting `cmd %@ %@` in dir %@", cmd, [args componentsJoinedByString:@" "], dir);
NSPipe* pipe = [NSPipe pipe];
task.standardOutput = pipe;