Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I would like start/run FME workbench from one external python script. Is there some simple syntax/command to do this?

share|improve this question

You could do a call to os.system. Something like:

os.system workspace.fmw --arg_one --arg_two ...

Look in the Log window when you run your workspace and at the very top it will give you the command to run, it's usually in blue and says "Windows command-line to run this workspace:".

share|improve this answer
Yes. It is very easy. – Z77 Jan 27 '12 at 13:46
Hi, I'm trying to run a second workspace using python command in "Shutdown Python Script" in the first workspace using the following command. I just copied what Chad has written but its giving me an error. Is there anything I need to do different? Thanks, Sam import os os.system fme.exe C:\temp\test2.fmw --SourceDataset_ARCGIS_LAYER C:\ScratchParcel\DevEnv.gdb\AddressPoint --DestDataset_SHAPE C:\temp – Sam Jun 19 '12 at 14:02
Sam can you post a new question on GISse please, thanks – Mapperz Jun 19 '12 at 14:38

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.