replaced ':' with 'path.separator' system variable, thus exec becomes cross-platform