Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FailOnWithInfo ¶
FailOnWithInfo logs the error information with additional context info (terminates the application)
func FailWhen ¶
FailWhen logs the given message if the condition is true (terminates the application)
func IsNoChildProcesses ¶
exec.Command().Run() and its derivatives sometimes return "wait: no child processes" or "waitid: no child processes" even for successful runs. It's a race condition between the Start() + Wait() calls and the actual underlying command execution. The shorter the execution time, the higher are the chances to get this error.
Some examples from the wild:
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.