StartProcess starts a new process with the program, arguments and attributes specified by name, argv and attr. The argv slice will become os.Args in the new process, so it normally starts with the program name. If the calling goroutine has locked the operating system thread with runtime.LockOSThrea
(name string, argv []string, attr *ProcAttr)
| 102 | // |
| 103 | // If there is an error, it will be of type *PathError. |
| 104 | func StartProcess(name string, argv []string, attr *ProcAttr) (*Process, error) { |
| 105 | return startProcess(name, argv, attr) |
| 106 | } |
| 107 | |
| 108 | // Release releases any resources associated with the Process p, |
| 109 | // rendering it unusable in the future. |
no test coverage detected