Fix some bugs in execve() and make sh use it for process launching.

Interrupting children of sh now always works with ^C :^)
This commit is contained in:
Andreas Kling 2018-11-03 02:04:36 +01:00
commit 20fb1fc377
Notes: sideshowbarker 2024-07-19 18:34:14 +09:00
4 changed files with 24 additions and 24 deletions

View file

@ -5,7 +5,6 @@
int main(int argc, char** argv)
{
setpgid(0, 0);
if (argc != 2) {
printf("usage: cat <file>\n");
return 1;