parameters: (option,default='')
docstring: Interface to the system's uname command.
docstring_summary: Interface to the system's uname command.
docstring_tokens: Interface to the system s uname command .
function: def _syscmd_uname(option,default=''):
  
      """ Interface to the system's uname command.
      """
      if sys.platform in ('dos','win32','win16','os2'):
          # XXX Others too ?
          return default
      try:
          f = os.popen('uname %s 2> %s' % (option, DEV_NULL))
      except (AttributeError,os.error):
          return default
      output = string.strip(f.read())
      rc = f.close()
      if not output or rc:
          return default
      else:
          return output
function_tokens: def _syscmd_uname ( option , default = '' ) : if sys . platform in ( 'dos' , 'win32' , 'win16' , 'os2' ) : # XXX Others too ? return default try : f = os . popen ( 'uname %s 2> %s' % ( option , DEV_NULL ) ) except ( AttributeError , os . error ) : return default output = string . strip ( f . read ( ) ) rc = f . close ( ) if not output or rc : return default else : return output