You can configure an agent to use a shell other than the default shell by editing parameters in the BFAgent.conf file.
shell C:\MKSTools\mksnt\ksh.exe -L -c \"%s\"
The % in this command is replaced by the step command when the system sends a command to the server. In this case, use the backslash escape character to include quotation marks as literals in the command.