Skip to main content
Archived

Close FME desktop on successful completion

Related products:FME Form
  • January 3, 2020
  • 1 reply
  • 28 views

jdh
Contributor
Forum|alt.badge.img+40

We often run long workspaces on secondary machines, and that means that floating licences are tied up unnecessarily once the workspace is complete, until someone checks the session and closes FME workbench.

It would be nice to have an option to "save and close workpace on successful completion". That way the licences become available as soon as they are not needed, but if there was a failure we would still have access to the feature counts and inspection bubbles to help troubleshoot the issue.

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.

1 reply

Forum|alt.badge.img
  • April 14, 2020

Hi jdh.

If you don't like a messy shutdown, this Python code might do the trick:

import os import time import fme import fmeobjects class FeatureProcessor(object):     def __init__(self):         pass     def input(self,feature):         self.pyoutput(feature)     def close(self):         while 1 :             os.system("TASKKILL /F /IM fmeworkbench.exe") # needs to be done first             time.sleep(3)             os.system("TASKKILL /F /IM fme.exe") # needed to kill yourself