Documentation ¶
Overview ¶
Package exech provides simple way to execute binary.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Exec ¶
Exec execute binary named by name with arguments args. stdin is used as standard input. If binary write something into stderr this data will be return in err (can be accessed via err.Error()). Error will be also returned (type of exec.ExitError) if binary exits with none zero code. Exec returns standard output as slice of bytes and error.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.