func (c *Client) StartProcess(name string, wait bool) error {
	return c.boolCall("supervisor.startProcess", name, wait)
}
Start a process.
package supervisord
import "syscall"
type (
	ProcessInfo struct {
		Name          string       `xmlrpc:"name"`            
		Group         string       `xmlrpc:"group"`           
		Start         int          `xmlrpc:"start"`           
		Stop          int          `xmlrpc:"stop"`            
		Now           int          `xmlrpc:"now"`             
		State         ProcessState `xmlrpc:"state"`           
		StateName     string       `xmlrpc:"statename"`       
		SpawnErr      string       `xmlrpc:"spawnerr"`        
		ExitStatus    int          `xmlrpc:"exitstatus"`      
		StdoutLogfile string       `xmlrpc:"stdout_logfile"`  
		StderrLogfile string       `xmlrpc:"stderr_logfile"`  
		Pid           int          `xmlrpc:"pid"`             
	}
	ProcessState int
)
const (
	StateStopped  ProcessState = 0     
	StateStarting ProcessState = 10    
	StateRunning  ProcessState = 20    
	StateBackoff  ProcessState = 30    
	StateStopping ProcessState = 40    
	StateExited   ProcessState = 100   
	StateFatal    ProcessState = 200   
	StateUnknown  ProcessState = 1000  
)
func (c *Client) processInfoArrayCall(method string, args ...interface{}) ([]ProcessInfo, error) {
	var processinfo []ProcessInfo
	err := c.Call(method, args, &processinfo)
	if err != nil {
		return nil, err
	}
	return processinfo, nil
}
func (c *Client) GetProcessInfo(name string) (*ProcessInfo, error) {
	var processinfo ProcessInfo
	err := c.Call("supervisor.getProcessInfo", name, &processinfo)
	if err != nil {
		return nil, err
	}
	return &processinfo, nil
}
func (c *Client) GetAllProcessInfo() ([]ProcessInfo, error) {
	return c.processInfoArrayCall("supervisor.getAllProcessInfo")
}
func (c *Client) SignalProcess(name string, signal syscall.Signal) error {
	return c.boolCall("supervisor.signalProcess", name, int(signal))
}
func (c *Client) SignalAllProcesses(signal syscall.Signal) ([]ProcessInfo, error) {
	return c.processInfoArrayCall("supervisor.signalAllProcesses", int(signal))
}