-ScriptEditor Run scripts not printing to command history

8.11.24254.15001, 2024-09-10

Save a script such as

#! python3
print("Hello, World!")

When executed from the Script Editor, Hello, World! is printed to both the Script Editor’s Terminal and Rhino’s Command History.

However, running the script by
_-ScriptEditor _Run _Browse (or enter the path),
nothing is printed to the Command History.

This also occurs with IronPython and C# scripts.

Scripts with SetCommandPrompt still display their prompts to the Command History.

@spb There has been a few improvements in the way script editor captures print statements. Would you mind testing out the latest 8.12 release candidate?

Yes, running scripts via _-ScriptEditor _Run prints to the Command History in 8.12.24261.13001, 2024-09-17

1 Like