Weird situation on syntax errors #34

Closed
Manfred opened this Issue Jul 26, 2012 · 2 comments

Projects

None yet

3 participants

@Manfred
Collaborator

When I run Kicker 3.0.0pre1 (on Mountain Lion, zsh) and I get a syntax error from either the test or an implementation file, something weird happens.

The output of the command is send to the terminal-notifier. Because it contains quotes the shell doesn't understand the command and prints an exception.

A solution would be to write the message to terminal-notifier through stdin instead of through an argument.

For an example see:

https://gist.github.com/2efd0e786f51e3a95f0b

@alloy
Owner

For Kicker it would probably be easier to escape the message. (I.e. #inspect the value.)

@mikz
Collaborator

pre2 is using notify gem which should cover that

@mikz mikz closed this Aug 16, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment