Use platform-specific subprocess call to get things running in both windows and linux