def _cygcheck(args, cyg_arch='x86_64'):
 cmd = ' '.join([os.sep.join(['c:', _get_cyg_dir(cyg_arch), 'bin', 'cygcheck']), '-c', args])
 ret = __salt__['cmd.run_all'](cmd)
 if (ret['retcode'] == 0):
  return ret['stdout']
 else:
  return False

def _cygcheck ( args , cyg_arch = 'x86_64' ) : cmd = ' ' . join ( [ os . sep . join ( [ 'c:' , _get_cyg_dir ( cyg_arch ) , 'bin' , 'cygcheck' ] ) , '-c' , args ] ) ret = __salt__ [ 'cmd.run_all' ] ( cmd ) if ( ret [ 'retcode' ] == 0 ) : return ret [ 'stdout' ] else : return False
run the cygcheck executable .