One of our QA employees found a small bug in the getpid() function in the Unix startup script.
If the application is started from a path containing square brackets, the getpid() function doesn't correctly find the PID of the running application.
This is caused by the call to 'grep' in the line
pidtest=`$PSEXE -p $pid -o args | grep "$WRAPPER_CMD" | tail -1`
where the square brackets in the path (in $WRAPPER_CMD) are interpreted by grep.
Suggested fix: add '-F' to the call to 'grep' (or escape all non-alphanumeric chars?).