equal
deleted
inserted
replaced
52 } |
52 } |
53 |
53 |
54 #pragma mark - |
54 #pragma mark - |
55 #pragma mark Spawner functions |
55 #pragma mark Spawner functions |
56 -(NSInteger) spawnThread:(NSString *)onSaveFile withOptions:(NSDictionary *)dictionary { |
56 -(NSInteger) spawnThread:(NSString *)onSaveFile withOptions:(NSDictionary *)dictionary { |
|
57 [self retain]; |
57 self.stream = (onSaveFile) ? [[NSOutputStream alloc] initToFileAtPath:onSaveFile append:YES] : nil; |
58 self.stream = (onSaveFile) ? [[NSOutputStream alloc] initToFileAtPath:onSaveFile append:YES] : nil; |
58 [self.stream open]; |
59 [self.stream open]; |
59 |
60 |
60 NSInteger ipcPort = [HWUtils randomPort]; |
61 NSInteger ipcPort = [HWUtils randomPort]; |
61 NSDictionary *config = [[NSDictionary alloc] initWithObjectsAndKeys: |
62 NSDictionary *config = [[NSDictionary alloc] initWithObjectsAndKeys: |