vlang / vinix

Vinix is an effort to write a modern, fast, and useful operating system in the V programming language
https://vlang.io
GNU General Public License v2.0
1.89k stars 120 forks source link

Possible alternative? #66

Closed Ccode-lang closed 2 years ago

Ccode-lang commented 2 years ago

I was wondering if this would be a good alternative. It would be a good fix for the FIXME

streaksu commented 2 years ago

The goal of the design is for the shell to restart in case of exit or crash, so the system doesnt come to a stop when one of these things happen. While a good way to catch the error, in this case we just dont want to catch it, but keep trying.

Ccode-lang commented 2 years ago

I will fix this now

Ccode-lang commented 2 years ago

Should not be a problem. If error code 5000 is a bash exit status then we might have a problem.

Update:
5000 is not a bash exit code. Just searched it.

Ccode-lang commented 2 years ago

This is not a good way to do this I'm still experimenting.