unix command inside oracle

i connect to oracle in shell script and i execute a procedure .
i want to find the exit status of the execution command inside oracle .is there anyway i can use $? or any other command is there .

may be this link can help u..

http://www.orafaq.com/scripts/c_src/extproc.txt

anchal.