forked child process to exec command