Basic usage of exec system call of posix.