docstr: The command prefix used on windows when specifing a explicit
  shell executable. This would be "-c" for bash.
  Note: that if no explicit executable is set commands are executed
  with Popen(..., shell=True) which uses COMSPEC on windows where this
  is not needed.
docstr_tok: ["The","command","prefix","used","on","windows","when","specifing","a","explicit","shell","executable",".","This","would","be","``","-c","''","for","bash",".","Note",":","that","if","no","explicit","executable","is","set","commands","are","executed","with","Popen","(","...",",","shell=True",")","which","uses","COMSPEC","on","windows","where","this","is","not","needed","."]
code: def win_command_prefix(cls, cmd):
      """The command prefix used on windows when specifing a explicit
      shell executable. This would be "-c" for bash.
      Note: that if no explicit executable is set commands are executed
      with Popen(..., shell=True) which uses COMSPEC on windows where this
      is not needed.
      """
      cls._win_command_prefix = cmd
  
imports: import _io
  import sys
  import os
  import subprocess
  import inspect
  import shutil
  import stat
  import tempfile
  import threading
  from snakemake.utils import format, argvquote, cmd_exe_quote
  from snakemake.common import ON_WINDOWS, RULEFUNC_CONTEXT_MARKER
  from snakemake.logging import logger
  from snakemake.deployment import singularity
  from snakemake.deployment.conda import Conda
  from snakemake.exceptions import WorkflowError
label_desc: Use image node_id 6 for calling the shell obj's underlying member method code with example usage: obj.win_command_prefix(cls, cmd) without return types