Replace Python std output only for GUI application and not for CLI
This commit is contained in:
@@ -1403,6 +1403,7 @@ static void init_resources()
|
||||
void Application::initApplication(void)
|
||||
{
|
||||
try {
|
||||
Base::Interpreter().replaceStdOutput();
|
||||
initTypes();
|
||||
new Base::ScriptProducer( "FreeCADGuiInit", FreeCADGuiInit );
|
||||
init_resources();
|
||||
|
||||
Reference in New Issue
Block a user