Open Ph0enixKM opened 2 weeks ago
i wonder if exit
is considered infallible. afaik we have decided sometime before that we add only infallibles to builtins, right?
i wonder if
exit
is considered infallible. afaik we have decided sometime before that we add only infallibles to builtins, right?
I think that it’s as infailable as echo
so we can assume it’s infailable
tbh i dont think that even echo
is infallible. there are some conditions where there is no fd 1, right?
@b1ek Yeah. But then can we even run anything bash related?
Is your feature request related to a problem? Please describe.
exit(code: Num)
function is so simple and universal that it could be a builtinexit code:Num
Describe the solution you'd like The following syntax:
Remove the following function from std lib:
Describe alternatives you've considered N/A
Additional context This introduced a breaking change