Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
vasilev
Contributor III
Contributor III

Publisher can not execute command lines

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

1 Solution

Accepted Solutions
ToniKautto
Employee
Employee

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.

View solution in original post

11 Replies
bindu_apte
Creator III
Creator III

Hi,

Hope this thread will help you.

how to execute bat file in qlikview server (qmc)

Peter_Cammaert
Partner - Champion III
Partner - Champion III

Are you sure your server command isn't waiting for some response from you?

vasilev
Contributor III
Contributor III
Author

Hi Peter,

Yes, I'm sure. The command has run under the client and did not need a response from me.

vasilev
Contributor III
Contributor III
Author

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.

jjbom1990
Creator
Creator

Have you enabled the batch-mode in QlikViewDistributionService.exe.config? ( C:\Program Files\QlikView\Distribution Service)

<add key="EnableBatchMode" value="true"/>

vasilev
Contributor III
Contributor III
Author

I have just tried but no success. I have still the situation.

jjbom1990
Creator
Creator

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?

vasilev
Contributor III
Contributor III
Author

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?

jjbom1990
Creator
Creator

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?