fork and exec implements