execute shell commands in c