@Nathan_Clero wrote:
Hi everyone,
Now that my plug-in compilation process is defined, I would like to automatize that by using Jenkins. So I basically transferred my batch scripts and everything seems to work fine except the compilation of my RHP with the RhinoScriptCompiler.exe, let me explain why.
It seems that the executable assumes that it has a “physical” console window opened and it tries to rescale it or at least graphically interact with it, which leads to a crash in Jenkins which is working in batch.
c:\test_jenkins\jenkins_workspace\workspace\RhinoPlugin>RhinoScriptCompiler.exe .\test.rhc Unhandled Exception: System.IO.IOException: The handle is invalid. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.__Error.WinIOError() at System.Console.set_CursorVisible(Boolean value) at RhinoScriptCompiler.Program.Main(String[] args)
When I try to do that manually in the console it works fine.
Do you think it could be possible to handle this case?
Is there a “batch mode” for the RhinoScriptCompiler.exe?
Is the source code of the RhinoScriptCompiler.exe accessible?Thanks in advance for your help!
Best regards,
Nathan
Posts: 1
Participants: 1