CadQuery / CadQuery/cq-cli

Swallows print Statements

Open
#12 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
30
Forks
10
PR merge metrics
No merged PRs in 30d

Description

Related to this [CadHub issue](https://github.com/Irev-Dev/cadhub/issues/548).

Calls to `print()` (stdout) within a script will not show up in the CadHub console, but calls to `println(..., file=sys.stderr)` (stderr) do. My guess is that this is related to how CQGI is executed from within cq-cli, but it needs to be investigated.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the issue with a script that calls print() and another that writes to stderr, then inspect how CQGI is executed from cq-cli. Compare the handling of stdout with stderr in the console, using the related CadHub issue for context. Done means script stdout appears in the CadHub console while stderr continues to work.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.