Files
FreeCADWasmDev/docs/current/web-commandstd-boundaries.md
wangdequan 9a7c4f0335 Save FreeCAD Web workspace sources and user validation evidence
IFC native binding remains incomplete; preserve accurate test results.
2026-09-15 22:01:58 +08:00

1.3 KiB

Web CommandStd Remaining Boundaries

Batch: cc47703fb2a813cd73dec42b

The existing WebViewCommands.h executable handler table includes Std_About, Std_AboutQt, Std_AnnotationLabel, and Std_CommandLine. The packet's static registration finding alone does not establish that those handlers are absent. No marker registrations were added.

This edit makes newly created command-line consoles share Python's __main__ namespace and catches KeyboardInterrupt from submitted Python code, clears the pending console buffer, and returns the interruption in stderr.

Remaining functionality:

  • Console stdin consumes supplied inputLines; it does not suspend execution to request more interactive input from the mounted UI.
  • Interruption raised within Python is handled, but interruption of an already running WASM command from the UI remains unresolved.
  • Existing About, AboutQt, and AnnotationLabel handlers were inspected but were not changed by this edit. Full desktop behavior is not established by the presence of their handler entries.

No builds, tests, browser validation, benchmarks, acceptance runs, or historical reconciliation were performed. Incremental build, sync, and route receipts remain owned by the outer pipeline and do not establish business acceptance.