the program is similar to system cmd