added cmd exec to Pssnate.c