How come exec() doesn't return?
Because that's what it does: it replaces your currently running program with a different one. If you want to keep going (as is nearly always the case) use
system
instead.
Back to
How do I find out which operating system I'm running under?
Forward to
How do I do fancy stuff with the keyboard/screen/mouse?
Up to
the perlfaq8 manpage