Wow, it is really kind and helpful; in the meantime before you added the above picture I was searching for the legend of the return OS on the function, but you did that. It is exactly what I need.
Many thanks !
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I need to call an external script which obviously has distinct content and folder depending on if the code runs at Linux or Windows OS.
Is there any library with functions capable of doing that ?
Hmm, I imagine there is more info about the enumeration of OS, but check out the sysTarget library as mentioned in this FAQ.
https://faq.codesys.com/display/CDSFAQ/ ... ing+System
Edit: In fact here is the Library information with the OS ID's
Hi Campbell,
Wow, it is really kind and helpful; in the meantime before you added the above picture I was searching for the legend of the return OS on the function, but you did that. It is exactly what I need.
Many thanks !
Happy to help, teprom