Python Execute Shell Command And Get Stdout In C