• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

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

562

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

Votes

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

Votes

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
Resources
Documentation