parameters: (cmd, get=False, blocking=True, **kwargs)
docstring: This function performs a OS subprocess call.
          All output is thrown away unless an error has occured or if @get is True
          Arguments:
              @cmd: the string command to run
              [get] : True means return (stdout, stderr)
              [kw]  : Pass directly to the Popen call (stuff like cwd)
          Returns:
              None if not @get and no error
              (stdout, retcode, stderr) if @get or yes error
docstring_summary: This function performs a OS subprocess call.
          All output is thrown away unless an error has occured or if
docstring_tokens: This function performs a OS subprocess call . All output is thrown away unless an error has occured or if
function: def oscall(cmd, get=False, blocking=True, **kwargs):
      """
          This function performs a OS subprocess call.
          All output is thrown away unless an error has occured or if @get is True
          Arguments:
              @cmd: the string command to run
              [get] : True means return (stdout, stderr)
              [kw]  : Pass directly to the Popen call (stuff like cwd)
          Returns:
              None if not @get and no error
              (stdout, retcode, stderr) if @get or yes error
      """
      # Since we are already in a deferred chain, use subprocess to block and make the call to mount right HERE AND NOW
      proc = subprocess.Popen(cmd, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE, **kwargs)
      if(blocking):
          output, errors = proc.communicate()
          if(proc.returncode or get):
              return (output, proc.returncode, errors)
          else:
              if(output and output != ""):
                  print('-- "%s" stdout: "%s"\n' % (cmd, output.rstrip()))
              if(errors and errors != ""):
                  print('-- "%s" stderr: "%s"' % (cmd, errors.rstrip()))
              return None
      else:
          return proc
function_tokens: def oscall ( cmd , get = False , blocking = True , * * kwargs ) : # Since we are already in a deferred chain, use subprocess to block and make the call to mount right HERE AND NOW proc = subprocess . Popen ( cmd , shell = True , stdout = subprocess . PIPE , stderr = subprocess . PIPE , * * kwargs ) if ( blocking ) : output , errors = proc . communicate ( ) if ( proc . returncode or get ) : return ( output , proc . returncode , errors ) else : if ( output and output != "" ) : print ( '-- "%s" stdout: "%s"\n' % ( cmd , output . rstrip ( ) ) ) if ( errors and errors != "" ) : print ( '-- "%s" stderr: "%s"' % ( cmd , errors . rstrip ( ) ) ) return None else : return proc