Skip to content

Exit code on wrong command in shell integration history #22942

Closed
@andreamah

Description

@andreamah

Testing #22926

I ran shell integration with the following lines:

print(sys.argv[0])
print(sys.argv[1])
print('uwu')

In the REPL, the second line fails, but the terminal history shows line 1 as having an exitCode of 1.

image image

Metadata

Metadata

Assignees

Labels

area-replinfo-neededIssue requires more information from poster

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions