Skip to content

Commit

Permalink
fix: [python] output can not display immediately
Browse files Browse the repository at this point in the history
Log: as title
  • Loading branch information
LiHua000 committed Aug 8, 2024
1 parent f87f397 commit bbf6554
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/python/python/pythongenerator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ RunCommandInfo PythonGenerator::getRunArguments(const ProjectInfo &projectInfo,
runFilePath = entryFilePath;
}
}
runCommandInfo.arguments << runFilePath;
runCommandInfo.arguments << "-u" << runFilePath; // -u : Process the output immediately without caching.
runCommandInfo.runInTerminal = ConfigUtil::instance()->getConfigureParamPointer()->runInTerminal;

return runCommandInfo;
Expand Down

0 comments on commit bbf6554

Please sign in to comment.