databricks-cli/libs/env
Serge Smertin 7171874db0
Added `process.Background()` and `process.Forwarded()` (#804)
## Changes
This PR adds higher-level wrappers for calling subprocesses. One of the
steps to get https://github.com/databricks/cli/pull/637 in, as
previously discussed.

The reason to add `process.Forwarded()` is to proxy Python's `input()`
calls from a child process seamlessly. Another use-case is plugging in
`less` as a pager for the list results.

## Tests
`make test`
2023-09-27 09:04:44 +00:00
..
context.go Added `process.Background()` and `process.Forwarded()` (#804) 2023-09-27 09:04:44 +00:00
context_test.go Added `process.Background()` and `process.Forwarded()` (#804) 2023-09-27 09:04:44 +00:00
pkg.go Consolidate environment variable interaction (#747) 2023-09-11 08:18:43 +00:00