still serv_close bug...
[mit-jos.git] / user / spawnhello.c
blob10c092a9e1c307f4d88eeaf3e81de4ebd2fb34c0
1 #include <inc/lib.h>
3 void
4 umain(void)
6 int r;
7 cprintf("i am parent environment %08x\n", env->env_id);
8 if ((r = spawnl("hello", "hello", 0)) < 0)
9 panic("spawn(hello) failed: %e", r);