Skip to main content
Question

Shutdown python script to terminate fme.exe

  • June 8, 2013
  • 2 replies
  • 24 views

Forum|alt.badge.img+1
Hi All,

 

 

Is there any python code to include in Shutdown python script area of workbench to terminate the fme.exe.

 

 

This is required so that, when fme.exe is not exited after translation is successful message.

 

 

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

fmelizard
Safer
Forum|alt.badge.img+21
  • Safer
  • June 8, 2013
Hallo,

 

 

I would try somethinfg like:

 

 

import os

 

 os.system("TASKKILL /F /IM fme.exe")

 

 

Itay

Forum|alt.badge.img+1
  • Author
  • June 9, 2013
Hi Itay,

 

 

I tried using below code yesterday and it has worked for me.

 

 

import os

 

os.system("TASKKILL  /IM fme.exe /F")

 

 

Thanks for your reply.