From 09db04621e284c109391efe3b0bbc70b26b043b4 Mon Sep 17 00:00:00 2001 From: rowanbeentje Date: Wed, 22 May 2013 00:00:32 +0000 Subject: - Address further Release/Distribution build warnings --- Source/SPActivityTextFieldCell.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/SPActivityTextFieldCell.m') diff --git a/Source/SPActivityTextFieldCell.m b/Source/SPActivityTextFieldCell.m index f2cfbdba..d5ef9906 100644 --- a/Source/SPActivityTextFieldCell.m +++ b/Source/SPActivityTextFieldCell.m @@ -256,7 +256,7 @@ static inline NSRect SPTextLinkRectFromCellRect(NSRect inRect) NSTask *killTask = [[NSTask alloc] init]; [killTask setLaunchPath:@"/bin/sh"]; // [killTask setArguments:[NSArray arrayWithObjects:@"-c", [NSString stringWithFormat:@"kill -9 -%ld", pid], nil]]; - [killTask setArguments:[NSArray arrayWithObjects:@"-c", [NSString stringWithFormat:@"[[ `ps -ax | egrep '%ld.*%@' | wc -l` -eq \"4\" ]] && kill -9 -%ld 2&> /tmp/sp_kill_error.txt", pid, SPBundleTaskScriptCommandFilePath, pid], nil]]; + [killTask setArguments:[NSArray arrayWithObjects:@"-c", [NSString stringWithFormat:@"[[ `ps -ax | egrep '%ld.*%@' | wc -l` -eq \"4\" ]] && kill -9 -%ld 2&> /tmp/sp_kill_error.txt", (long)pid, SPBundleTaskScriptCommandFilePath, (long)pid], nil]]; [killTask launch]; [killTask waitUntilExit]; status = [killTask terminationStatus]; -- cgit v1.2.3