#184 new
Andrew Otto

Piped Input

Reported by Andrew Otto | January 17th, 2011 @ 04:58 PM

What I did: echo "hi" | kod

What I expected to happen: A new kod window to open with the text 'hi'.

What actually happened: Kod crashed:

$ echo "hi" | kod
2011-01-17 10:56:29.662 kod[66857:903] W [src/kod_helper.m:341] NSInvalidReceivePortException: connection went invalid while waiting for a reply
  0   CoreFoundation                      0x00007fff83ff27b4 __exceptionPreprocess + 180
  1   libobjc.A.dylib                     0x00007fff800ef0f3 objc_exception_throw + 45
  2   CoreFoundation                      0x00007fff83ff25d7 +[NSException raise:format:arguments:] + 103
  3   CoreFoundation                      0x00007fff83ff2564 +[NSException raise:format:] + 148
  4   Foundation                          0x00007fff80c380f6 -[NSConnection sendInvocation:internal:] + 4355
  5   CoreFoundation                      0x00007fff83fc498c ___forwarding___ + 860
  6   CoreFoundation                      0x00007fff83fc0a68 _CF_forwarding_prep_0 + 232
  7   kod                                 0x00000001000025ac -[KCLIProgram openNewDocumentWithStdin] + 347
  8   kod                                 0x000000010000282f main + 177
  9   kod                                 0x00000001000015c4 start + 52

Version of Kod: kod version 0.0.3

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

A text editor for Mac OS X

People watching this ticket

Pages