0

I want to run a batch script from within my JFace wizard, and even I want to show the progress monitor for that within the wizard.

Why I want this because, when I run a batch script within my java code, the control on batch script execution gets lost from java code. That's why I'm thinking whether is it possible to run this within the wizard so that I should have the control.

Reagrds,

Anand

1 Answer 1

1

You need to be able to measure the script's progress somehow. For example, if the script could log its progress to the file, then a thread in your application could read it and pass to the progress monitor (by calling IProgressMonitor#worked(valueFromFile))

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.