Standard java runners do not call calback, if compilation failed.

已回答

Hello, I am calling runner.execute(env, callback) on BasicProgramRunner and GenericDebuggerRunner and expect it to run callback after process started, but I noticed that callback is not invoked when compilation fails. Is it expected behavior or a bug?
If it is, is there any way to find out that compilation failed and process will not start?

0

Yes, callback is called only if process started. But not if some before task failed or error occurred.

0

请先登录再写评论。