mirror of
https://github.com/go-delve/delve.git
synced 2025-10-29 01:27:16 +08:00
Update Launch docs for Darwin
This commit is contained in:
@ -31,7 +31,8 @@ type OSProcessDetails struct {
|
|||||||
|
|
||||||
// Create and begin debugging a new process. Uses a
|
// Create and begin debugging a new process. Uses a
|
||||||
// custom fork/exec process in order to take advantage of
|
// custom fork/exec process in order to take advantage of
|
||||||
// PT_SIGEXC on Darwin.
|
// PT_SIGEXC on Darwin which will turn Unix signals into
|
||||||
|
// Mach exceptions.
|
||||||
func Launch(cmd []string) (*DebuggedProcess, error) {
|
func Launch(cmd []string) (*DebuggedProcess, error) {
|
||||||
argv0Go, err := filepath.Abs(cmd[0])
|
argv0Go, err := filepath.Abs(cmd[0])
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|||||||
Reference in New Issue
Block a user