Skip to main content
Question

Shutdown python script to terminate fme.exe


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.

 

 

2 replies

fmelizard
Safer
Forum|alt.badge.img+18
  • 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.

Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings