Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

osh -c 'read -d :' fails in the C++ osh (not in the Python osh) #1629

Closed
andychu opened this issue May 24, 2023 · 1 comment
Closed

osh -c 'read -d :' fails in the C++ osh (not in the Python osh) #1629

andychu opened this issue May 24, 2023 · 1 comment

Comments

@andychu
Copy link
Contributor

andychu commented May 24, 2023

# With the Python version

$ osh -c 'read -d :'
^C        <--- start to read stdio. I've killed it by C-c (SIGINT)

# With the C++ version

$ osh -c 'read -d :'
osh: /home/murase/.mwg/git/oilshell/oil/cpp/core.h:100: pyos::TermState::TermState(int, int): Assertion `0' failed.

Originally posted by @akinomyoga in #1069 (comment)

andychu pushed a commit that referenced this issue May 24, 2023
Add a repro bug #1629 in spec/stateful, and fix it.
@andychu
Copy link
Contributor Author

andychu commented Jun 29, 2023

Released a few weeks ago: https://www.oilshell.org/blog/2023/06/release-0.16.0.html

@andychu andychu closed this as completed Jun 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant