python execute shell command in background