split sys_exec() into a single file.