Documentation ¶
Index ¶
- func CmdExec(cmdname string, cmdargs ...string) (string, string, error)
- func CmdExecIn(dir string, cmdname string, cmdargs ...string) (cmdout string, cmderr string, err error)
- func CmdExecStdin(stdin string, dir string, cmdname string, cmdargs ...string) (stdout string, stderr string, err error)
- func CmdTryStart(cmdname string, cmdargs ...string) (err error)
- func CmdsTryStart(cmds map[string]*CmdTry)
- func SetupJsonIpcPipes(bufferCapacity int, withContentLen bool, needJsonOut bool) (stdin *bufio.Scanner, rawOut *bufio.Writer, jsonOut *json.Encoder)
- func Using(l sync.Locker, do func())
- func WaitOn(funcs ...func())
- func WaitOn_(funcs ...func())
- type CmdTry
- type MutexIf
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CmdExecStdin ¶
func CmdTryStart ¶
func CmdsTryStart ¶
func SetupJsonIpcPipes ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.