Already in the DIRAC.Core.Utilities.Os module.