Run Program (on Server) -> Matlab compiled executable

Hi,

I received a Matlab compiled executable from a collaborator.

I installed the Matlab runtime libraries on the server, and updated the PATH variable for MatLab Runtime components; so far so good.

I can run the widget from the Dos prompt/command line after navigating to the executable and running it with the appropriate parameters. All this when logged into the server using the credentials of the scitegic_apache service (6.1.1)

When I wrap the command line operation into a batch file (change to C:, cd
But when I use the PP component to do the same trick, simply run the batch file, it fails every time, and the only usable debug info is an exit status = 128

By the way, when I use the Run Program (On Client) component, it works. scitegic_Apache is running as me, so the environments are very similar.

I'm wondering if anyone has some experience integrating Compiled MatLab applications and would be willing to share some of the tricks to a hair-loss-free integration.

Cheers,

Scott