jackalope/jackalope — pull request #86 by iambrosi (2012-01-31 13:15:39+00:00)
Title: Matches processes with a '-jar' option in the getServerPid function

Ensures the matched process in the getServerPid function is not the php command that starts/stops the server using the jackrabbit_jar option.

If you run the command jackalope:run:jackrabbit with the jackrabbit_jar options, pgrep will match the php process of the command itself, and if you attempt to stop the server, on the stopServer function, the killed process will be the php command.