mirror of https://github.com/databricks/cli.git
This commit is contained in:
parent
c59b11f7c1
commit
dfd26e37ae
|
@ -20,8 +20,7 @@ func newChildCommand() *cobra.Command {
|
|||
// Note: The golang stdlib only provides a way to wait on 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
|
||||
// to get right and test. So I opted to just rely on the wait_pid
|
||||
// script here.
|
||||
// to get right and test.
|
||||
waitCmd := exec.Command("bash", "-euo", "pipefail", "wait_pid", os.Getenv(daemon.DatabricksCliParentPid))
|
||||
b, err := waitCmd.Output()
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in New Issue