improve message for issues in cobc
Traceback (most recent call last):
File "/home/so/COBOL/bin/cobcd", line 94, in SubprocessCall
resultcode = subprocess.call(command)
File "/usr/lib64/python2.7/subprocess.py", line 524, in call
return Popen(*popenargs, **kwargs).wait()
File "/usr/lib64/python2.7/subprocess.py", line 711, in __init__
errread, errwrite)
File "/usr/lib64/python2.7/subprocess.py", line 1327, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
Something went wrong with the command:
cobc -x TEST.cob -T test.lis
I needed a bit longer than normal to see "there's no cobc", compare with
-bash: cobc: command not found