Execute a command with safely quoted arguments