Psexec action failure when calling nUnit

Hi,

I am using FB5's psexec action to execute a nUnit test on a remote server. If I execute the command manually from a command prompt, it executes correctly. However, during the FB5 project execution, the psexec action fails to execute the test every time. The return code is always 1, and then it's followed by a "SUCCESS" output. Here is the sample of the action:

Command line : psexec \\VM-DEV4X01 -u *DOMAIN*\*ACCOUNT* -p *PASSWORD* -i -w "C:\Program Files\****\****" "C:\Program Files\NUnit-Net-2.0 2.2.5\bin\nunit-console.exe" "C:\Program Files\***\***\****.*****.UnitTests.dll"

Return code : 1
Success.

Thanks

Hi Eugene,

Do you know if the nunit-console.exe is actually started on the remote machine? We need to figure out if it’s psexec failing or nunit. psexec also seems to return strange return codes sometimes - what do you have the minimum success code set to?

.t8

I have changed the PSEXEC action to a DOS action which executes psexec directly and nUnit executes without a problem, which makes me think that there is a problem with a PSEXEC action.