Skip to main content
Question

Workspace in cmd

  • September 14, 2018
  • 2 replies
  • 12 views

How can i create workspace using cmd and select features in the commandline itself

2 replies

alexlynch3450
Contributor
Forum|alt.badge.img+14
  • Contributor
  • September 14, 2018

Not sure what you mean by "creating a workspace using cmd" but the code below runs designated workspace from commandline

import os

import subprocess

args = [r"C:\\Program Files\\FME\\fme.exe", "C:\\\\Users\\\\$(user)\\\\Desktop\\\\testpython\\\\Exercisela-Complete.fmw"]

subprocess.Popen(args)


gio
Contributor
Forum|alt.badge.img+15
  • Contributor
  • September 14, 2018

U can set env variables in a command line and then call a workspace using these env variables using a EnvironmentVariableFetcher.


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