-login:
user: password:
āŠŸsettings:
huginn - programming language with no quirks, so simple every child can master it.
Fork me on GitHub
git clone https://codestation.org/repo/huginn.git
git clone https://github.com/AmokHuginnsson/huginn.git
git clone https://bitbucket.org/huginn/huginn.git
The OperatingSystem package provides an interface to various operating system functionalities.
Members
  • OperatingSystemException( message ) - create instance of OperatingSystemException with given message
  • core_count() - get the number of CPUs in the system
  • env( name ) - get value of an environment variable named name
  • exec( prog, args... ) - replace current process space with running image of prog providing it with args arguments
  • exit( status ) - exit the interpreter with the status
  • get_limit( resourceLimitType ) - get current value of given resource limit designated by given resourceLimitType
  • getgid() - get Huginn's interpreter process effective group id
  • getpid() - get Huginn's interpreter process id
  • getuid() - get Huginn's interpreter process effective user id
  • memory_size() - get information about system physical memory size
  • set_env( name, value ) - set name environment variable to value value
  • set_limit( resourceLimitType, ( soft, hard ) ) - set new soft and hard limit for a resource designated by given resourceLimitType
  • set_locale( localeFacet, id ) - set id as new active locale facet localeFacet
  • set_umask( newUmask ) - set value of system's umask to newUmask
  • spawn( prog, args... ) - start a subprocess prog providing it with args arguments
  • stderr() - get access to interpreter's standard error stream
  • stdin() - get access to interpreter's standard input stream
  • stdlog() - get access to interpreter's standard log stream
  • stdout() - get access to interpreter's standard output stream
  • umask() - get value of system's umask
The OperatingSystemException exception type for OperatingSystem package.
The OperatingSystem.Subprocess class represents a system process spawned from this interpreter instance. It allows for a basic process life management.
Members
  • err() - standard error stream of a subprocess
  • get_pid() - get operating system Process IDentification-number of this subprocess
  • in() - standard input stream of a subprocess
  • is_alive() - tell if given subprocess is alive and running
  • kill() - kill this sub-process
  • out() - standard output stream of a subprocess
  • wait( [milliseconds] ) wait for milliseconds for this subprocess to finish is execution and return its exit status