[[ Bug 13591 ]] Initialise the "shellCommand" on OS X server.

Previously it was only initialised for OS X in desktop mode.

Requires #1556.