Next: , Previous: System_os, Up: System


3.2.1.11 System.os.posix

Provides functionality specific to POSIX operating systems.

Supported methods:

raise(signal)
Sends given signal (normally a constant under System.os.posix, e.g. System.os.posix.SIGCHLD) to self.
setSignalHandler(signal, handler)
Sets the handler for signal to handler. If handler is null, will set the handler to the default action. Signal handlers are methods that take one argument, the signal number.
popen(path, mode)
Opens a pipe to the given application and returns a file object. mode is either r for read or w for write. Note: popen'd file objects must be closed with pclose().
pclose(obj)
Closes pipe to process.