At executing program, how to hide PS & Directory @ output

At executing program in terminal, how to hide " keep showing PS +Directory, I tried code runner but did not work as it should any recommendation thx!!