def silent_call(cmd):
 return subprocess.call(cmd, stderr=subprocess.PIPE, stdout=subprocess.PIPE)

def silent_call ( cmd ) : return subprocess . call ( cmd , stderr = subprocess . PIPE , stdout = subprocess . PIPE )
calls cmd and returns the exit value .