">" problem has fixed.

Adding sleep(1) to delay print of ">"