code: def extract_shn (archive, compression, cmd, verbosity, interactive, outdir):
      
      cmdlist = [util.shell_quote(cmd)]
      outfile = util.get_single_outfile(outdir, archive, extension=".wav")
      cmdlist.extend(['-x', '-', util.shell_quote(outfile), '<',
          util.shell_quote(archive)])
      return (cmdlist, {'shell': True})
docs: Decompress a SHN archive to a WAV file.