Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All,
I have implemented the following command line in a application script.
EXECUTE "C:\Program Files\TortoiseSVN\bin\TortoiseProc.exe" /command:update /path:"$(vL.Path)" /closeonend:1;
The point is to get an automatic update of a subversioned document with TortoiseSVN.
If I execute this command with the QlikView client it works perfectly.
Unfortunately I don't have the same result if I run this command line over the publisher. The job remains in running state all the time and I have to cancel it manually.
Could anybody help me to find the problem?
I am using QV 11.2 SR 13.
Thank in advance
Rumen
Technically the publisher does not execute the EXE.
The EXE will be executed in a separate process thread, there is no handling of the return code from the EXE execution.
Are you sure your server command isn't waiting for some response from you?
Hi Peter,
Yes, I'm sure. The command has run under the client and did not need a response from me.
Hi Bindu,
Unfortunately it's not the solution I am searching for. I try to execute the command line from the application script and not from the supporting tasks as batch file.
Have you enabled the batch-mode in QlikViewDistributionService.exe.config? ( C:\Program Files\QlikView\Distribution Service)
<add key="EnableBatchMode" value="true"/>
I have just tried but no success. I have still the situation.
Is your QlikView service account an administrator? maybe it is something in permissions.
could you test if it can run a batch file, just to check?
Yes, I can a batch job from the service account over the supporting tasks in QMC. Permissions should not be the problem.
Actually I habe found a discussion where Bill Britt wrote the following:
"You are running an EXE and publisher can't tell when this has finished. ..."
Running a Batch file through Publisher | Qlik Community
Can the publisher executes EXE files at all?
In my current situation I am running an .exe as well, and that seems to be working. In my case however it closes the application right after it send a command, I don't know if that's the same case with you?