Documentation ¶
Overview ¶
Package wine provides support to run Windows programs under Wine.
Index ¶
- func Command(name string, args ...string) *exec.Cmd
- func CommandContext(ctx context.Context, name string, args ...string) *exec.Cmd
- func FromWindows(path string) (string, error)
- func Getenv(key string) (string, error)
- func IsInstalled() bool
- func Shutdown() (ex error)
- func Startup() error
- func ToWindows(path string) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CommandContext ¶
CommandContext is like Command but includes a context.
func FromWindows ¶
FromWindows translates a Windows (Wine) to a Unix path.
func Getenv ¶
Getenv retrieves the value of the Windows (Wine) environment variable named by the key.
func Shutdown ¶
func Shutdown() (ex error)
Shutdown shuts down a persistent Wine server started by this package, and waits for it to complete.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.