check exit status of bg scripts

HI All,

I am running one shell script, in that script i am calling 4 scripts in the background.

abc.ksh &
efg.ksh &
xky.ksh &
mno.ksh &

please let me know, how could i find the success and failure of each script.

i Cannot use $?, because i want to run all the scripts in parellel.

Thanks
:frowning:

you can write the exist status of each script to a file and check the file in you main script...

Check this link:

http://www.unix.com/shell-programming-scripting/17900-exit-status-invoking-two-more-scripts-background.html\#post68114

Regards