fix(init): removed unnecessary error message when waiting for child process; race with wait all

fix(exec): fallback to os.Args when no delimiter found
fix(pidproxy): fallback to os.Args when no delimiter found
fix(splitargs): return full selfArgs
fix(experiment/starter): replaced bool no-wait with count
test(docker/bookworm-newconfig): added test for background process + pid proxy
This commit is contained in:
2024-03-28 22:21:57 +11:00
parent a0134fa400
commit f2bfd6e60b
8 changed files with 64 additions and 25 deletions

View File

@@ -23,7 +23,7 @@ func SplitArgs(args []string) ([]string, []string, error) {
return nil, nil, errors.New("invalid argument")
}
selfArgs = args[1:i]
selfArgs = args[:i]
childArgs = args[i+1:]
break
}