cmd works in terminal, but not works in Process