powershell

package
v1.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 25, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Powershell

type Powershell struct {
	// contains filtered or unexported fields
}

Powershell structure

func NewShell

func NewShell() (p *Powershell, err error)

NewShell returns a new pointer to a Powershell structure

func (*Powershell) ExecuteString

func (p *Powershell) ExecuteString(script string)

ExecuteString instruct the shell to execute the script provided as parameter

func (*Powershell) Kill

func (p *Powershell) Kill() error

Kill kills the current shell struct

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL