- FMEWorkspaceRunner.run(workspace, parentHandle)
Executes the workspace file specified. The first time this method is called on a workspace, any published parameters will be prompted for before the workspace is run. Subsequent calls to this method with the same workspace will not prompt for published parameters. The published parameters specified during the first call to this method will be used in the subsequent calls.
This method will run mapping files in addition to workspaces. However, workspaces are preferred over mapping files due to the configuration ease workspaces provide.
:type parentHandle int :param workspace: The path to the workspace to run. :param parentHandle: (Optional) The window handle that the FME prompt dialogs will be bound to. :rtype: None :raise FMEException: An exception is raised if the running of the workspace failed.