On windows machine I have script that returns exit status 1 or 0 after it finishes. Based on these statuses I execute further calculations as follows: