catch exec errors

This commit is contained in:
2023-12-08 18:37:35 +01:00
parent e4a8af9b5b
commit 49e01565b9
3 changed files with 4 additions and 4 deletions

View File

@@ -1,2 +1,2 @@
exec testrpn 100 50 50 - /
stdout 'division by null\n'
! exec testrpn 100 50 50 - /
stdout 'division by null'