Question

Identify which Operating System is being used?

  • 17 December 2015
  • 3 replies
  • 3 views

Badge

Is it possible to test (from within FME) which operating system an FME workspace is running on?


3 replies

Userlevel 1
Badge +16

Python has these properties or method.

See the links. One of them might help you.

Userlevel 4
Badge +22

I thought we had a published parameter for this, but I guess not. If you want to distinguish between Windows and Linux the best I can offer is the FME_MF_DIR parameter - if it starts with "C:\\" then you can be fairly certain it's a Windows platform.

Badge +2

The FME_OS parameter now may be what you need to use -

FME_OS Returns the operating system on which FME is running - Windows, macOS, or Linux.

Reply