Skip to content

docs: explain system_raise_on_error for shell commands 🤖🤖 - #15483

Closed
pei711 wants to merge 1 commit into
ipython:mainfrom
pei711:docs/9657-system-raise-on-error
Closed

pei711 wants to merge 1 commit into
ipython:mainfrom
pei711:docs/9657-system-raise-on-error

Conversation

@pei711

@pei711 pei711 commented Nov 18, 2026

Copy link
Copy Markdown

The shell access guide did not explain how ! commands handle a non-zero exit status or how to make failures raise an exception.

Document InteractiveShell.system_raise_on_error, link to its configuration trait, and show how to enable it in a running session. 🤖🤖

Validation: ran the Sphinx HTML build with external intersphinx lookups disabled after the standard build stalled fetching remote inventories. The offline build emitted warnings for missing external inventories and Graphviz; the changed page rendered and its configuration-trait link resolved.

Fixes #9657

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-18T06:41:51.626760Z 12090aa PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@Carreau

Carreau commented Nov 18, 2026

Copy link
Copy Markdown
Member

PR emitted without looking at AGENT.md or using the PR template.

Having not read them, you are therefore – as indicated in contributed.md – banned for 7 days.

@Carreau Carreau closed this Nov 18, 2026
@ipython ipython temporarily blocked pei711 Nov 18, 2026
@Carreau Carreau added this to the no action milestone Nov 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Treat subprocess errors as exceptions

2 participants