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
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
Copy link to clipboard
Copied
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