packageprocessimport("time")// ProcessConfig a process config. defines how to run a processtypeProcessConfigstruct{ProgramstringArgs[]stringCwdstringUserstringGroupstringStdoutstringStderrstringInheritEnvboolEnvsmap[string]stringRlimitmap[string]int64KillWaittime.DurationFinalWaittime.Duration}