Category: Blog
-
Capturing a program’s exit status in a Bash script
Use of a Bash script to capture an exit status in a Python program. Would also work for a C/C++, Java, or any program that can exit with an exit status. Useful for running batch jobs in a scheduler program like IBM’s Workload Scheduler(formerly known as Tivoli Maestro). Python program is shown first. Simple program…