Skip to main content
Solved

Is there a way to 'quieten' the command line console when running FME from the command line?

  • October 31, 2023
  • 4 replies
  • 33 views

james_c_452
Enthusiast
Forum|alt.badge.img+8

Hi,

 

I am running FME from the command line. I was wondering, because I've never been able to work it out, is there a way to make it so that FME does not report anything to the console window so there isn't as much text? Or at least less text?

 

For example I don't want to report all this progress text

2023-11-01 

 

The way I am calling FME is like this:

fme WORKSPACE.fmw ^

--PARAM_1 ABC ^

--PARAM_2 123

 

Any help would be appreciated thanks

Best answer by david_r

I just tested the following technique, and it only outputs the single line "Translation was SUCCESSFUL" in the console when using FME 2023.1:

fme.exe myworkspace.fmw > nul

 

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.

4 replies

DanAtSafe
Safer
Forum|alt.badge.img+20
  • Safer
  • October 31, 2023

Hi @james_c_452​ Is that your exact syntax?  From the screenshot it looks like you're running it with 

LOG_STANDARDOUT YES

at the end.  Which build of FME are  you using? Also, it looks like you're running a mapping file - you can run a workspace (*.fmw) from the command line too.


james_c_452
Enthusiast
Forum|alt.badge.img+8
  • Author
  • Enthusiast
  • October 31, 2023

Hi @james_c_452​ Is that your exact syntax?  From the screenshot it looks like you're running it with 

LOG_STANDARDOUT YES

at the end.  Which build of FME are  you using? Also, it looks like you're running a mapping file - you can run a workspace (*.fmw) from the command line too.

Hi @danatsafe​ ,

 

Yes that's it (except it was a typo. I am calling an fmw file. I have changed that in the original post).

 

I have tried this also but it is still the same

fme WORKSPACE.fmw ^

--PARAM_1 ABC ^

--PARAM_2 123 ^

LOG_STANDARDOUT NO


david_r
Celebrity
  • Best Answer
  • November 1, 2023

I just tested the following technique, and it only outputs the single line "Translation was SUCCESSFUL" in the console when using FME 2023.1:

fme.exe myworkspace.fmw > nul

 


james_c_452
Enthusiast
Forum|alt.badge.img+8
  • Author
  • Enthusiast
  • November 1, 2023

I just tested the following technique, and it only outputs the single line "Translation was SUCCESSFUL" in the console when using FME 2023.1:

fme.exe myworkspace.fmw > nul

 

That works a treat. Adding > nul works

Thanks @david_r​ !