Aucune idée mais en cherchant à peine je tombe là dessus :
https://stackoverflow.com/questions/394230/how-to-detect-the-os-from-a-bash-script
ou
https://blog.tersmitten.nl/how-to-determine-if-a-r-script-is-running-on-windowsos-x-or-linux.html
Etc.
HTH
Message édité le 11 décembre 2021 à 07:30:10 par Starax