Start starts the daemon. It functions akin to ox/exec.Command.Start().
()
| 50 | |
| 51 | // Start starts the daemon. It functions akin to ox/exec.Command.Start(). |
| 52 | func (d *Process) Start() error { |
| 53 | d.mu.Lock() |
| 54 | defer d.mu.Unlock() |
| 55 | |
| 56 | return d.startProcess() |
| 57 | } |
| 58 | |
| 59 | // Wait waits for the process to exit, returning the error on the provided |
| 60 | // channel. |
no test coverage detected