Added function for invoking any command via cmd useful for running npm install