Documentation
¶
Overview ¶
Package vos provides a basic virtual OS abstraction implementation.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CatchExit ¶
func CatchExit(catch func(code int))
CatchExit allows recovering from vos.Exit() and calls catch with the denoted exit code.
func ClearStdio ¶
func ClearStdio(v vos)
ClearStdio clears IO read-writers for Stdin, Stdout, and Stderr of the vos instance.
func GetStdio ¶
func GetStdio(v vos) (stdin, stdout, stderr io.ReadWriter)
GetStdio returns IO read-writers for Stdin, Stdout, and Stderr of the vos instance.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.