This commit is contained in:
Shreyas Goenka 2025-02-18 14:59:54 +01:00
parent dfd26e37ae
commit f504343774
No known key found for this signature in database
GPG Key ID: 92A07DF49CCB0622
1 changed files with 2 additions and 2 deletions

View File

@ -17,8 +17,8 @@ func newChildCommand() *cobra.Command {
// wait_pid lives in acceptance/bin. We expect this command to only be called // wait_pid lives in acceptance/bin. We expect this command to only be called
// from acceptance tests. // from acceptance tests.
// //
// Note: The golang stdlib only provides a way to wait on processes // Note: The golang standard library only provides a way to wait on
// that are children of the current process. While it's possible to // processes that are children of the current process. While it's possible to
// rely on os native syscalls to wait on arbitrary processes, it's hard // rely on os native syscalls to wait on arbitrary processes, it's hard
// to get right and test. // to get right and test.
waitCmd := exec.Command("bash", "-euo", "pipefail", "wait_pid", os.Getenv(daemon.DatabricksCliParentPid)) waitCmd := exec.Command("bash", "-euo", "pipefail", "wait_pid", os.Getenv(daemon.DatabricksCliParentPid))