Documentation ¶
Index ¶
- func SetCommand(cmd string)
- type PythonExec
- func (instance *PythonExec) ErrWriterAppend(w io.Writer)
- func (instance *PythonExec) GetDir() string
- func (instance *PythonExec) OutWriterAppend(w io.Writer)
- func (instance *PythonExec) Run(args ...string) (*executor.ConsoleProgramSession, error)
- func (instance *PythonExec) RunAsync(args ...string) (*executor.ConsoleProgramSession, error)
- func (instance *PythonExec) RunWrapped(args ...string) (*executor.ConsoleProgramSession, error)
- func (instance *PythonExec) SetCommand(cmd string)
- func (instance *PythonExec) SetDir(dir string)
- func (instance *PythonExec) Version() (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type PythonExec ¶
type PythonExec struct {
// contains filtered or unexported fields
}
func NewPythonExec ¶
func NewPythonExec(args ...interface{}) *PythonExec
func (*PythonExec) ErrWriterAppend ¶
func (instance *PythonExec) ErrWriterAppend(w io.Writer)
func (*PythonExec) GetDir ¶
func (instance *PythonExec) GetDir() string
func (*PythonExec) OutWriterAppend ¶
func (instance *PythonExec) OutWriterAppend(w io.Writer)
func (*PythonExec) Run ¶
func (instance *PythonExec) Run(args ...string) (*executor.ConsoleProgramSession, error)
func (*PythonExec) RunAsync ¶
func (instance *PythonExec) RunAsync(args ...string) (*executor.ConsoleProgramSession, error)
func (*PythonExec) RunWrapped ¶
func (instance *PythonExec) RunWrapped(args ...string) (*executor.ConsoleProgramSession, error)
func (*PythonExec) SetCommand ¶
func (instance *PythonExec) SetCommand(cmd string)
func (*PythonExec) SetDir ¶
func (instance *PythonExec) SetDir(dir string)
func (*PythonExec) Version ¶
func (instance *PythonExec) Version() (string, error)
Click to show internal directories.
Click to hide internal directories.