ColdFusion executing compiled Python exe

New Here ,
Apr 14, 2021 Apr 14, 2021

Copy link to clipboard

Copied

Hi

I have created a python script that genarete a word document. I want to call this script from coldfusion app. so i add this code :

<cfexecute name="C:\tmp\docGen.exe" outputFile = "C:\tmp\output.txt" timeout="10000" errorVariable="error" />

 

But notthing happens , only output.txt is created. But no result.docx file and no error displayed

 

 

TOPICS
Advanced techniques

Views

69

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct Answer

New Here , Apr 15, 2021 Apr 15, 2021
SOLVED: 1- there were some rights that were missing. coldfuson user had to have access to run pyhton exe file 2- I called the bat file in the cfexcute tag. Bat file started cmd command with pyhton exe file

Likes

Translate

Translate
New Here ,
Apr 15, 2021 Apr 15, 2021

Copy link to clipboard

Copied

LATEST

SOLVED: 1- there were some rights that were missing. coldfuson user had to have access to run pyhton exe file
2- I called the bat file in the cfexcute tag. Bat file started cmd command with pyhton exe file

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines