Hi folks,

I've a problem retrieving the exit code of an interactive job submitted using ws-gram in Java. I submit the job using the GramJob.submit. Then you can use the job.getExitCode() to retrieve the exit code, but it always returns zero. It returns zero for for instance the executable 'mkdir' without any arguments, which should return 1. It also returns zero for non-existing executables (however, the state changes to failed).

Any ideas?

Cheers,

Roelof Kemp

Reply via email to