Hi guys
Can anyone help with this Windows call - I am trying to write the equivallent of this:
PXI -Mode Import -IntegrationId Generic -FilePath c:\Trigold\Generic\Click.xml
…From the c:\Trigold\ directory
Code Used
var program_output = application.executeProgram(‘c:\Trigold\Generic\PXI’,‘-Mode’,‘Import’,‘-IntegrationId’,‘Generic’,‘-FilePath’,‘c:\Trigold\Generic\Click.xml’);
Error Presented
java.io.IOException: CreateProcess: c:\Trigold\Generic\PXI -Mode Import -IntegrationId Generic -FilePath c:\Trigold\Generic\Click.xml error=2
This was working and is now throwing an error - does anyone know what Error 2 is ? and if not can you see any reason why this code snip wont re create this the example which works as a command line call when typed in direct ??
Many thanks in advance
Gordon