call the cmd, not "cmd". also get stderr