in reply to Re: Returning status to parent from pipe
in thread Returning status to parent from pipe
can becomejob[0] = "com1 | com 2" job[1] = "com3" . . . job[n] = "com100"
Ideally I was trying to find a solution like Crackers2's suggestion where I can do some "magic" on each command to get it to return the first exit code. I will play around with that for a while and see if I can do thatjob[0] = "com1 > tmp.out" job[1] = "cat tmp.out >com2" job[3] = "com3" . . . job[n+1] = "com100"
|
|---|