mirror of
https://github.com/kennethreitz-archive/gitx.git
synced 2026-06-05 23:40:18 +00:00
Output better debug info for NSTask action
This commit is contained in:
+1
-1
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user