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

Interactive cancellation of 'sleep 3; echo done' - should not print 'done' #1679

Open
andychu opened this issue Jul 16, 2023 · 1 comment
Open

Comments

@andychu
Copy link
Contributor

andychu commented Jul 16, 2023

Not sure how exactly how other shells handle this, but OSH disagrees with all shells here

I think there are similar issues with failglob and so forth, I noticed that in bash

@bar-g
Copy link
Contributor

bar-g commented Feb 11, 2024

Noticed that ysh is already not printing 'done':

osh-0.20.0$ sleep 3; echo done
^C
done
osh-0.20.0$
ysh ysh-0.20.0$ sleep 3; echo done
^C
  sleep 3; echo done
  ^~~~~
[ interactive ]:26: errexit PID 630755: command.Simple failed with status 130
ysh ysh-0.20.0$ 

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

2 participants