Programming and posix - April 2002

April 3, 2002
Solution Symposium
Page 43
hp e3000
programming
and posix
process management - execl()
Compile & link sample program
shell/iX> gcc -o execlt execlt.c
Run sample program
shell/iX> execlt
child: hello world
parent: exiting
A child process on MPE will not survive the death of its
parent; implement daemons via batch jobs instead