Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(11)

Side by Side Diff: Mac/PythonLauncher/doscript.m

Issue 15550: Trailing white spaces
Patch Set: Created 7 years, 6 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « Mac/Makefile.in ('k') | Mac/PythonLauncher/English.lproj/MainMenu.nib/classes.nib » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * doscript.c 2 * doscript.c
3 * PythonLauncher 3 * PythonLauncher
4 * 4 *
5 * Created by Jack Jansen on Wed Jul 31 2002. 5 * Created by Jack Jansen on Wed Jul 31 2002.
6 * Copyright (c) 2002 __MyCompanyName__. All rights reserved. 6 * Copyright (c) 2002 __MyCompanyName__. All rights reserved.
7 * 7 *
8 */ 8 */
9 9
10 #import <Cocoa/Cocoa.h> 10 #import <Cocoa/Cocoa.h>
11 #import <ApplicationServices/ApplicationServices.h> 11 #import <ApplicationServices/ApplicationServices.h>
12 #import "doscript.h" 12 #import "doscript.h"
13 13
14 extern int 14 extern int
15 doscript(const char *command) 15 doscript(const char *command)
16 { 16 {
17 char *bundleID = "com.apple.Terminal"; 17 char *bundleID = "com.apple.Terminal";
18 AppleEvent evt, res; 18 AppleEvent evt, res;
19 AEDesc desc; 19 AEDesc desc;
20 OSStatus err; 20 OSStatus err;
21 21
22 [[NSWorkspace sharedWorkspace] launchApplication:@"/Applications/Utiliti es/Terminal.app/"]; 22 [[NSWorkspace sharedWorkspace] launchApplication:@"/Applications/Utiliti es/Terminal.app/"];
23 23
24 // Build event 24 // Build event
(...skipping 25 matching lines...) Expand all
50 NSLog(@"Terminal returned an error: %d", err); 50 NSLog(@"Terminal returned an error: %d", err);
51 AEDisposeDesc(&desc); 51 AEDisposeDesc(&desc);
52 } else if (err == errAEDescNotFound) { 52 } else if (err == errAEDescNotFound) {
53 err = noErr; 53 err = noErr;
54 } else { 54 } else {
55 NSLog(@"AEGetPArmDesc returned an error: %d", err); 55 NSLog(@"AEGetPArmDesc returned an error: %d", err);
56 } 56 }
57 57
58 return err; 58 return err;
59 } 59 }
OLDNEW
« no previous file with comments | « Mac/Makefile.in ('k') | Mac/PythonLauncher/English.lproj/MainMenu.nib/classes.nib » ('j') | no next file with comments »

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+