newbie_xml 0 Newbie Poster

Hi All,
i want to use statement like
exitvalue=process.waitfor();

my program terminates once i execute the process and so no value is returned by process.waitfor();Nothing that cumes afetr this stmt is executed.


Can anyone tell me how to come out of process.waitfor.
any pointers for this are also appreciated

Thanks & regards